Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - How to Repair damage to proportional text in Graphics Framework ?: (1 Item)
   
How to Repair damage to proportional text in Graphics Framework ?  
Hi ,

When dealing with proportional fonts, sometimes the vectors of one glyph
run into the vectors of another. This is especially evident when using a
font such as Nuptial BT. We  need to take special care when repairing
damage to such fonts. 

PfExtentTextCharPositions()
<http://www.qnx.com/developers/docs/6.4.1/photon/lib_ref/pf/pfextenttext
charpositions.html>  addresses this issue in Photon environment. This
position is where you should draw the next character. 

If you use the PF_CHAR_DRAW_POSITIONS flag, the bearing x of the
following character isn't applied to the position, which is useful when
you're placing cursors. 

What is the equivalent on PfExtentTextCharPositions()
<http://www.qnx.com/developers/docs/6.4.1/photon/lib_ref/pf/pfextenttext
charpositions.html>  in Graphics Framework ?

Please let me know regarding this.

 

Thanks,

Karthik Kannan M

General Electric - Transportation