I need help on accessing the fonts that are available in the printer's memory but not in the windows/fonts. I am using Itext to create a pdf formatted page and want to send embedded font information, size and layout but the font has to be installed in the pc to do that because the while initializing the BaseFont.CreateFont(), I need to give the absolute path of the file. Is there a way to use arbitary font and send the font name using Itext.
Fonts can only be installed in the printer but cannot be installed in the PC, so I don't have any other choice apart from using the font name and just sending it to the printer to print, but I was not able to find any way to achieve it through Itext. If any of you could help me to achieve this would really appreciate. //MICR print BaseFont signFont = BaseFont.createFont("securefontpath",BaseFont.CP1257, BaseFont.NOT_EMBEDDED); canvas.beginText(); canvas.setFontAndSize(signFont, 12); canvas.setTextMatrix(70, 20); canvas.showText("1234567890"); canvas.endText(); -- View this message in context: http://itext-general.2136553.n4.nabble.com/Problem-accessing-fonts-available-in-printer-s-memory-through-java-tp4656336.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php