Author Topic: Small Fonts When Run From Command Line  (Read 3945 times)

rob_figlabs

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.figlabs.com
Small Fonts When Run From Command Line
« on: October 04, 2005, 08:38:47 pm »
If I run my QPE application from the command line it works, but the fonts are tiny - barely readable. If I run it via the launcher it comes up fine. In fact if I run any QPE application it comes up with small fonts.

I need to run from the command line - anyone know what I can do to pick up the proper application look?

(running on SL-C3000)
Rob Charlton
Figlabs Ltd
Zaurus SL-C1000, SL-C3000 & SL-C3100 reseller
[img]http://www.figlabs.com/catalog/images/logoandname8.jpg\" border=\"0\" class=\"linked-sig-image\" /]

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Small Fonts When Run From Command Line
« Reply #1 on: October 12, 2005, 02:36:02 am »
for me, when I launch from the console as zaurus user, the fonts and resolution is big, but if I launch as the root user, the font and resolution becomes tiny. if I set the LANG environment variable under the root user, then the font and resolution becomes big just like for the zaurus user.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Small Fonts When Run From Command Line
« Reply #2 on: October 12, 2005, 03:57:04 am »
Quote
If I run my QPE application from the command line it works, but the fonts are tiny - barely readable. If I run it via the launcher it comes up fine. In fact if I run any QPE application it comes up with small fonts.

I need to run from the command line - anyone know what I can do to pick up the proper application look?

(running on SL-C3000)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=98196\"][{POST_SNAPBACK}][/a][/div]

I observe the same behaviour here. Would also be interested in the reason and maybe a workaround.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

rob_figlabs

  • Jr. Member
  • **
  • Posts: 92
    • View Profile
    • http://www.figlabs.com
Small Fonts When Run From Command Line
« Reply #3 on: October 12, 2005, 05:14:59 am »
Quote
if I set the LANG environment variable under the root user, then the font and resolution becomes big just like for the zaurus user.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=99008\"][{POST_SNAPBACK}][/a][/div]
Aha! You superstar - that seems to be it. My script is run as root, and I was sudo'ing to zaurus to run the GUI, but for some reason the LANG variable musn't always be set - seems intermittent.
Cheers
Rob Charlton
Figlabs Ltd
Zaurus SL-C1000, SL-C3000 & SL-C3100 reseller
[img]http://www.figlabs.com/catalog/images/logoandname8.jpg\" border=\"0\" class=\"linked-sig-image\" /]