c++ - Drawing bitmap fonts from cp-1252 characters -



c++ - Drawing bitmap fonts from cp-1252 characters -

i'm developping prototype application generate bitmap fonts giving ttf. i'm using qt library i'm using years. however, realized i've never been involved "characters" issues before.

what i'm trying quiet simple:

i need draw png file each character of 1252 codepage. i'm bit lost different issues related codec, textdecoder etc.

any suggestion welcome !

z.

the codec want qtextcodec::codecforname("windows-1252") the characters want char(32) char(255); set in char[225]. don't forget zero-terminate them. convert char[225] qstring codec (1) draw qstring (4)

c++ qt unicode cp1252

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -