Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

character code for special characters

Status
Not open for further replies.

ckboy666

Programmer
Oct 15, 2002
4
BE
i have a question :) I am downloading softfonts (with succes)in PCL5.The only problem is that there are some characters in the true type files that should be used in a special way during the characterdownload. The PCL spec says the following...

For TrueType fonts, a special code must be used to download glyphs which never stand alone as characters.FFFF(hex) should be used for this purpose.


Ok but how will be refered to these characters and will the glyph information be just the same as with other characters(information from the cmap)

thanx in advance
 
i found it :) you have to check in the truetypefile if it is a composite character. then you have to download the information of the composite character first. This information also contains the information of the other characters where the character consist of. You have to download these characters just as other characters but with 0xffff as character code. you just reference to the composite character as another character...
greets ckboy
 
I'd also like to create PCL downloads of TrueType fonts, but I'm not sure how to.

Are there standard mechanisms for interrogating a TTF font file to extract the different segments? Which parts go in the PCL Font Header, and which go in the Character Descriptor sequences?

Any pointers to documentation on this would be most welcome.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top