[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some questions about Akka



Mohammed Yousif wrote:

On Sunday 04 August 2002 09:53, Haydar Net wrote:


Salam,
I have some questions about akka:


I will try to answer what I can.



1- how to configure akka to use a normal arabic "no square arabic".


the default conf file created by Mr.Elzubier sets the console2 to be square arabic while console3 is set to use regular shaping:
ig you want to make console 2 do regular shaping (no square arabic), you can load this conf file:
###################################
#!/usr/bin/perl
use Akka;
Akka::add_console(2);
Akka::set_keymap(2, "/usr/share/keymaps/akka/us-latin1.map", "/usr/share/keymaps/akka/arabic.map");
Akka::process_glyph(2, 1);
Akka::load_glyph_file(2, "/usr/share/consoletrans/iso06glyph.map");
`consolechars --tty=/dev/tty2 -m straight-to-font -f /usr/share/consolefonts/sample.f16`;
#####################################


The Arabic letters does not join at all? but when i load

Akka::load_glyph_file(2, "/usr/share/consoletrans/iso60glyph.map");

I get seperated letters and much less than without loading it "many letters disappeares"



2- I don't know if this a bug but every time i boot linux using vga =
788 or vga = 791 i get very rare charectors instead of the Arabic
letters in Akka.


I use the framebuffer device with vga=791 and arabic seems to be great with akka, (no problems with that in my box)


This was my mistake, the font i use does not show correct when using framebuffers.



4- Is there any way to get Akka use the standard system fonts defined in
/etc/sysconfig/i18n "SYSFONTACM="iso06""


In slackware , the script rc.font loads the default font and I can let it load the font iso06b.fnt instead of the default font , and this is - of course - done after I put the font in /usr/share/kbd/consolefonts , maybe I didn't understand you properly.



maybe it is also a font problem, because all arabic letters appears like latine characters with some extra points or signes on it.

Now I only need to solve 1- and the folowing question:
when i try to convert from akka.sgml to any format like html i get the folowing error:
[haydar at node1424f haydar]$ docbook2html /usr/apps/cvs/projects/akka/debian/akka.sgml
Using catalogs: /etc/sgml/sgml-docbook-4.1-1.0-8hl.cat
Using stylesheet: /usr/share/sgml/docbook/utils-0.6.11/docbook-utils.dsl#html
Working on: /usr/apps/cvs/projects/akka/debian/akka.sgml
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:49:41:E: character data is not allowed here
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:99:8:E: character data is not allowed here
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:100:18:E: end tag for "LISTITEM" which is not finished
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:105:8:E: character data is not allowed here
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:106:18:E: end tag for "LISTITEM" which is not finished
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:111:8:E: character data is not allowed here
jade:/usr/apps/cvs/projects/akka/debian/akka.sgml:112:18:E: end tag for "LISTITEM" which is not finished


I know that i am asking too many idiots questions, but i am working to hard lately and i can't figure everything myself.

Salam,
Haydar