It is currently Wed Jul 06, 2011 8:10 pm

All times are UTC - 8 hours




 Page 1 of 1 [ 2 posts ] 
Author Message
 Post subject: rotated font?
PostPosted: Tue Apr 12, 2011 6:46 pm 

Joined: Wed Apr 06, 2011 8:53 pm
Posts: 32
I'm trying to print text rotated, so it's readable if you rotate the watch a quarter-turn counter-clockwise.

I checked the font API but couldn't find out how to do this.

Do I need to make a separate .png for each number, separately? Or is there an easier way?

Thanks for the help!


Offline
 Profile  
 
 Post subject: Re: rotated font?
PostPosted: Thu Apr 14, 2011 7:40 am 

Joined: Tue Feb 22, 2011 11:57 am
Posts: 3
You could try rotating the font, setting PWTS_WRAP on your PWidgetTextDynamic, and setting left/right of the PWTextBox so that its width is less than the height of two lines of the font.
There should be some program that can batch rotate a font but I'm not sure which. FontForge probably can with a bit of Python scripting.
Not sure if this is really easier than PNG per character, especially if you don't need many different characters (e.g. just numbers).


Offline
 Profile  
 
Display posts from previous:  Sort by  
 Page 1 of 1 [ 2 posts ] 

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: