OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Sharp ROMs => Topic started by: ShiroiKuma on August 20, 2006, 07:30:30 am

Title: Console Allowing You To Select A Qpf Font
Post by: ShiroiKuma 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?
Title: Console Allowing You To Select A Qpf Font
Post by: stupkid 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 (http://www.bryandeluca.com/cacko/feed/unifont_1.0-1_arm.ipk)
Title: Console Allowing You To Select A Qpf Font
Post by: ShiroiKuma 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.
Title: Console Allowing You To Select A Qpf Font
Post by: stupkid 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.
Title: Console Allowing You To Select A Qpf Font
Post by: Meanie 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.
Title: Console Allowing You To Select A Qpf Font
Post by: ShiroiKuma 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...
Title: Console Allowing You To Select A Qpf Font
Post by: ShiroiKuma 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...