Author Topic: Console Allowing You To Select A Qpf Font  (Read 4000 times)

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Console Allowing You To Select A Qpf Font
« on: August 20, 2006, 07:30:30 am »
Does anyone know of a console for the Sharp ROM which will allow you to select any QPF font you have installed to display text?

I've played with many, but they only have three or so pre-set font options specified and you can't select other fonts.

The reason is, I'd like to use Emacs in console without using X/Qt, but need a full Unicode font for displaying many int. texts. I converted some full Unicode fonts to QPF, but haven't been able to find a console app that would allow you to select any font for viewing text.

Anyone know of one such console for the Sharp ROM/Cacko?
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Console Allowing You To Select A Qpf Font
« Reply #1 on: August 20, 2006, 01:40:58 pm »
Installing the unifont package from the Cacko feed and selecting that in Konsole isn't working for you?

EDIT:

Here is a direct link to the package

http://www.bryandeluca.com/cacko/feed/unifont_1.0-1_arm.ipk
« Last Edit: August 20, 2006, 01:43:10 pm by stupkid »

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Console Allowing You To Select A Qpf Font
« Reply #2 on: August 21, 2006, 02:08:17 am »
Quote
Installing the unifont package from the Cacko feed and selecting that in Konsole isn't working for you?[div align=\"right\"][a href=\"index.php?act=findpost&pid=139195\"][{POST_SNAPBACK}][/a][/div]
It's called a unifont, but it's not a real full Unicode font, it only has some character sets, so it's not usable for my purposes.
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

stupkid

  • Hero Member
  • *****
  • Posts: 578
    • View Profile
    • http://
Console Allowing You To Select A Qpf Font
« Reply #3 on: August 21, 2006, 12:00:48 pm »
Quote
It's called a unifont, but it's not a real full Unicode font, it only has some character sets, so it's not usable for my purposes.[div align=\"right\"][a href=\"index.php?act=findpost&pid=139253\"][{POST_SNAPBACK}][/a][/div]
Sorry to hear that.  I thought that it was unicode, but guess not.  It's odd that certain .qpfs show up in Konsole when others do not I'm not sure what the criteria is.

Zaurus SL-C3200 pdaXii13v2 5.5 / Ambicom WC1100C-CF / Socket Bluetooth Rev G


OpenMoko FreeRunner - Running Tweaked OM2008.x Image

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Console Allowing You To Select A Qpf Font
« Reply #4 on: August 21, 2006, 08:42:21 pm »
Quote
Quote
It's called a unifont, but it's not a real full Unicode font, it only has some character sets, so it's not usable for my purposes.[div align=\"right\"][a href=\"index.php?act=findpost&pid=139253\"][{POST_SNAPBACK}][/a][/div]
Sorry to hear that.  I thought that it was unicode, but guess not.  It's odd that certain .qpfs show up in Konsole when others do not I'm not sure what the criteria is.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=139306\"][{POST_SNAPBACK}][/a][/div]

qkonsole etc.. only displays fixed width fonts, variable width fonts are ignored.

as for the unicode stuff, a font is called unicode font if it use utf-8 which unfortunately does not mean it actually contains all the unicode character sets because that would mean the font would be around 12+MB in size per font size. Also, a font needs to be completely loaded into memory before it can be used in qtopia 1.5 so in order to preserve memory and space, most fonts are stripped to the bare minimum character sets.
« Last Edit: August 21, 2006, 08:45:42 pm by Meanie »
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

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Console Allowing You To Select A Qpf Font
« Reply #5 on: August 22, 2006, 03:29:04 am »
I am getting closer in this quest.

Do you know if there's a way to set the encoding or locale in Qkonsole? I need to set it to UTF-8?

It can be done in qpe-embeddedkonsole-ja which lets you select the coding, but then again the qpe-embeddedkonsole-ja doesn't pick up the fixed-width Unicode fonts properly, i.e. when displaying Russian, the words and characters get strangely spaced, stretched over a line.

I have determined Qkonsole doesn't do it, but then again when you run Emacs in it and display UTF-8 stuff it comes as garbage under the Sharp ROM.

It displays it fine under Cacko, but then again I couldn't get the 3200 SD driver to work under Cacko 1.23 on a 3200!

So it seems I need to use the Sharp ROM, but in it Qkonsole, but now need to determine how to set the locale or what have you in it. I thought it could be the /home/QtPalmtop/qpe.sh so copied it from Cacko, but then the Sharp ROM freezes and doesn't boot...

If you have any ideas, I'd appreciat help on this, if I figure it out in the meantime, I'll surely post...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze

ShiroiKuma

  • Hero Member
  • *****
  • Posts: 900
    • View Profile
Console Allowing You To Select A Qpf Font
« Reply #6 on: August 22, 2006, 05:49:36 am »
Can't get it working under Sharp ROM. Have made some progress with Cacko. The SD driver is not loaded automatically on my 3200. However if I load it with insmod and then manually mount the card (it doesn't mount automatically) it works.

So, I'll test further, and if everything works will stick with Cacko.

Anyone know about the auto insmod and mounting the card? What do I need to fix?

Also, how about colors in the Qkonsole, can I somewhere edit the prefs to give other color combinations than the offered ones? I.e. yellow text on black etc...
[span style=\'font-size:8pt;line-height:100%\']Das ganze tschechische Volk ist eine Simulantenbande.[/font][/span]
Militäroberarzt Bautze