On systems with many font files, the RegisterDirectories() method can take a
while to run. I'd like to be able to provide a property file that contains
the font family names and the file locations. Then, when the doc refers to a
font, look it up in the property file, get the path to it and register the
font file right then and there.

To create this property file, I recursively go through a list of font
directories. The problem is that iText does not let me access the family
name/font name and location for the files it registers. I can get the font
names via the iterator (p. 274 in the book) or the font family (different
iterator, same page), but I cannot get the font name, family, and file
location from iText, as the needed fields in the source code are private.

Any suggestions on how to create this property file? 

Thanks ahead of time for any help.

---mr. bean
-- 
View this message in context: 
http://www.nabble.com/Registering-files-at-point-of-usage-instead-of-via-RegisterDirectories-tp20764762p20764762.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to