Difference: UsingCustomFonts (7 vs. 8)

Revision 82012-04-08 - ChrisBrower

Line: 1 to 1
 
META TOPICPARENT name="APPXDeveloper"

Defining Custom Fonts

Line: 21 to 21
 
  • From the File menu, choose "Install New Font..."
  • Use the Add Fonts selector to find the font
  • Click on OK. This will install the font.
Changed:
<
<

After you have installed a font you must tell Appx the name of the font, not the name of the font file. For example, the "Free 3 of 9" font is distributed in a file named "free3of9.ttf", but the name of the font is actually "Free 3 of 9 Regular". (you can also use "Free 3 of 9"). To find the font name, open the font file (free3of9.ttf) with Font Viewer (the easiest way to do that is to simply double-click on the font file in the Windows file manager).
>
>
After you have installed a font you must tell Appx the name of the font, not the name of the font file. For example, the "Free 3 of 9" font is distributed in a file named "free3of9.ttf", but the name of the font is actually "Free 3 of 9 Regular". (you can also use "Free 3 of 9"). To find the font name, open the font file (free3of9.ttf) with Font Viewer (the easiest way to do that is to simply double-click on the font file in the Windows file manager).
 
  • Log into APPX and select Application Design for the app you where you will be using the custom font.
  • Select Name Resources and define a resource with:
Line: 97 to 97
 "enable" means that you want to enable logging
"remove" means that you want PDFlib to remove any log file (of the same name) before starting
The "classes" clause specifies the information you want to log (and the level of detail for each category)

It would be helpful to include the log generated by this process when reporting PDF output issues.

Added:
>
>

Comments:

Read what other users have said about this page or add your own comments.



<--/commentPlugin-->
  -- GaryRogers - 2010-06-01 \ No newline at end of file
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback