Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

Pf--Font Server

Ab ¦ Al ¦ Ap ¦ mbstr ¦ Pd ¦ Pf ¦ Pg ¦ Ph ¦ Pi ¦ Pm ¦ Pp ¦ Pt ¦ Px ¦ Rt ¦ utf8 ¦ wc

These functions provide font services to Photon applications and drivers. Using them, you can:

There are two separate libraries of font functions, the Photon library and the font library font_api. Functions that have the suffix Cx of Dllare the font library versions. The font library functions use the font server plugin phfont.so, and let you choose how your application attaches to the font server. See the Fonts chapter of the Photon Programmer's Guide for more information.

Photon library font fucntions:

PfAttach()
PfConvertFontID()
PfDecomposeStemToID()
PfDetach()
PfDynamicLoad()
PfDynamicUnload()
PfExtent()
PfExtentComponents()
PfExtentFractTextCharPositions()
PfExtentText()
PfExtentTextCharPositions()
PfExtentTextToRect()
PfExtentWideText()
PfFindFont()
PfFontBaseStem()
PfFontDescription()
PfFontFlags()
PfFontSize()
PfFractionalExtentText()
PfFractionalRenderText()-- deprecated; use PfRender()
PfFreeFont()
PfGenerateFontName()
PfGetCacheStats()-- deprecated, no longer required.
PfGetOutline()
PfGlyph()
PfLoadFont()
PfLoadMetrics()
PfQueryFont() -- deprecated; use PfQueryFontInfo()
PfQueryFontInfo()
PfQueryFonts()
PfRender()
PfRenderCtx() -- deprecated; use PfRenderCx()
PfRenderText() -- deprecated; use PfRender()
PfRenderWideText() -- deprecated; use PfRender()
PfTextWidthBytes()
PfTextWidthChars()
PfUnloadMetrics()
PfWideTextWidthBytes()
PfWideTextWidthChars()

Font library functions:

PfAllocDetailsCx()
PfAllocRenderCx()
PfAssignDllCx()
PfAttachCx()
PfAttachDllCx()
PfAttachLocalDll()
PfAttachServerDll()
PfAttachSleuthMonitorDll()
PfConvertFontIDCx()
PfConvertPixelsToPointSizeCx()
PfDecomposeStemToIDCx()
PfDefaultContext()
PfDetachCx()
PfDetachLocalDll()
PfDynamicFontIDCx()
PfDynamicLoadCx()
PfDynamicUnloadCx()
PfExtentComponentsCx()
PfExtentCx()
PfExtentTextCharPositionsCx()
PfFindFontCx()
PfFontBaseStemCx()
PfFontDescriptionCx()
PfFontFlagsCx()
PfFontSizeCx()
PfFontTypeCx()
PfFreeFontCx()
PfGenerateFontNameCx()
PfGetGlyphIndexCx()
PfGetOutlineCx()
PfGlyphCx()
PfLoadFontCx()
PfLoadMetricsCx()
PfQueryFontInfoCx()
PfQueryFontsCx()
PfRenderCx()
PfRestartServerDll()
PfSetOptionsDll()
PfSetRenderingDPICx()
PfWaitOnServerDll()

Ab ¦ Al ¦ Ap ¦ mbstr ¦ Pd ¦ Pf ¦ Pg ¦ Ph ¦ Pi ¦ Pm ¦ Pp ¦ Pt ¦ Px ¦ Rt ¦ utf8 ¦ wc