I am very new to iText, and may be asking a question already answered in this forum, but please bear with me...
The insertDirectory() method of DefaultFontMapper takes a path to the directory where the fonts are installed. The location of the font directory depends on the OS, and even in the world of Windows changes from one flavor of Windows to another (e.g. /Winnt/fonts on NT, but /Windows/fonts on 98 or XP...) Is there any way to specify the font directory path in a portable, OS-independent manner? For example, getAllFonts() method of java.awt.GraphicsEnvironment gets these fonts without having the programmer supply the font location. Or, for this matter, is there any way to "feed" the fonts returned by getAllFonts() into DefaultFontMapper, thus circumventing the physical location issue altogether? Alex Molochnikov Gestalt Corporation ------------------------------------------------------- This SF.NET email is sponsored by: Take your first step towards giving your online business a competitive advantage. Test-drive a Thawte SSL certificate - our easy online guide will show you how. Click here to get started: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0027en _______________________________________________ iText-questions mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/itext-questions
