Author Topic: Fonts messed up when screen rotated  (Read 2353 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Fonts messed up when screen rotated
« on: August 13, 2004, 08:15:44 am »
Hi:

Recently I've generated a couple of qpf fonts from the arialunicode ttf font, as discussed here.

However there's one problem with them.

When I rotate the display and clos the zaurus, so that the screen switches to vertical, they only display garbage, like some strange shaded forms, but no text.

I've also noticed this with some fonts, downloaded, like the mico-unicode fonts.

What's the problem?

Do I need to specify some other stuff when generating the fonts with makeqpf or how can I solve this?

Later.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

w14

  • Full Member
  • ***
  • Posts: 180
    • View Profile
    • http://
Fonts messed up when screen rotated
« Reply #1 on: August 13, 2004, 08:22:18 am »
I believe it has something to do with font rotation. Have a look here:

http://www.pobox.sk/~mico/zaurus.html

Hopefully that'll give you a clue. Don't know enough about it to give you any more help at the moment. Sorry.

Mike.
sl-c3100
pdaxrom 1.1.0 beta1

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Fonts messed up when screen rotated
« Reply #2 on: August 13, 2004, 10:35:20 am »
You need to create 2 versions of the fonts - 270 degrees and 0 degrees (or it might be 90 degrees and 0 degrees - sorry cant remember which, but if you don't have the t0 and t10 versions of the font then you get garbage when you rotate

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Fonts messed up when screen rotated
« Reply #3 on: August 13, 2004, 04:20:23 pm »
Quote
You need to create 2 versions of the fonts - 270 degrees and 0 degrees (or it might be 90 degrees and 0 degrees - sorry cant remember which, but if you don't have the t0 and t10 versions of the font then you get garbage when you rotate
This can't be true.

For example, I installed the three fonts mentioned on the above site: georgia, utopia, and verdana.

Out of these three only georgia has also non *t10.qpf files in the package. However, this font is also messed up when the display is flipped. On top of that, utopia font is OK when you flip the display, though it has only *t10.qpf files.

Furthermore, for instance the unicode font in the kani-font package only has one file in the ipk, and it's a *t10.qpf file. So according to the quote it shouldn't work. Yet it's perfect when the display is flipped.

So it has to be something else...
« Last Edit: August 13, 2004, 04:21:37 pm by rehorrericha »
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

Stubear

  • Hero Member
  • *****
  • Posts: 1164
    • View Profile
    • http://
Fonts messed up when screen rotated
« Reply #4 on: August 13, 2004, 05:43:06 pm »
Yes you are righ6t it's not 100% accurate, but I'm yet to work out what makes a font work when only the t10 version is there.

My experience has been with verdana, time_jis and arialuni fonts, the verdana font installed the t10 only and showed garbage twhen flipped till I added the t0 (actually there is on t0 extension just verdana.qpf).

time_jis als only installed the t10 version, however it shows okay in both orientations, but it only one size is available when flipped while in landscape mode has 6 sizes.

My experience with arialuni was exactly the same as yours, when I added the rotated font the garbage went away - hence my coment that yuo need both.

If you come up with a another wat I'd love to hear it as the arialuni fonts take up too much space

Stu
SL-C1000, Hand converted to English with Japanese Input
Running X apps via X/Qt
iRiver USB host cable; Diatec P-Cord usb power cable (extendable); Acro's Reel Cable USB (A to A, B, Mini-B,  & Mini-B 8pin); GreenHouse 1Gb PicoDrive+; 2x256Mb Hagiwara SD cards; 128Mb Transcend CF card; 512Mb PQI CF card; AmbiCom WL1100C-CF 11B WLAN card