Feb
23
comment Passing Unicode line return characters set in Class to client side (DWR/HTML/UTF8) for InDesign Team
Naturally if you're telling ID that it's a Windows format, you should use the Windows line ending (CR+LF). :)
Nov
25
awarded Yearling
Nov
25
revised Passing Unicode line return characters set in Class to client side (DWR/HTML/UTF8) for InDesign Team
added 450 characters in body
Nov
25
answered Passing Unicode line return characters set in Class to client side (DWR/HTML/UTF8) for InDesign Team
Nov
24
awarded Yearling
Nov
24
awarded Yearling
Nov
24
answered How to assign a string ending in <CR> to a vimscript variable without it adding a <LF>?
Nov
22
comment Embedding *.ttc fonts using PDFBox
Yes! (whoops!) I edited the answer to reflect that.
Nov
22
revised Embedding *.ttc fonts using PDFBox
added 48 characters in body
Nov
22
answered What's the meaning of :key parameter in add-watch function
Nov
21
awarded Commentator
Nov
21
comment Embedding *.ttc fonts using PDFBox
... and unfortunately, yes; when you build the sfntly Fonts it parses the entire sfnt wrapper, however you can make it parse less if you need to by using FontFactory.loadFontsForBuilding (which gives a list of Font.Builder objects; you can then strip these down to just parse the name table. Then you call .build() on the builder objects to produce a Font object you can poke around in.
Nov
21
comment Embedding *.ttc fonts using PDFBox
You can get the name out with sfntly; it's not exactly "simple" though. You need to getTable(Tag.name) to get an instance of NameTable. You can access names from there with .getNameEntry, but you have to pass in appropriate constants. That will give you access to a slew of "names" for the font. You're probably safest by iterating through the NameTable and pulling the first entry with a FontFamilyName or PreferredFamily as its nameId.
Nov
21
awarded Editor
Nov
21
revised Does Clojure map include level specification?
added 1213 characters in body
Nov
21
answered Does Clojure map include level specification?
Nov
21
answered Embedding *.ttc fonts using PDFBox
Nov
20
answered Clojure : Get "OutOfMemoryError Java heap space" when parsing big log file
Nov
19
comment Getting font file from SWT font for PDFBox
I've been wrestling with the same kind of problem--my hack around it was to index the names, paths, and some other attributes of TTF files in common directories. I used sfntly to do that. It's very very very very hackish but it worked for what I needed.
Nov
17
comment Indexing an Object's properties by its position
This can't be done as you've presented it--consider storing each of your four arrays inside of another array or another data structure.
1 2 3