Closed Bug 194827 Opened 22 years ago Closed 15 years ago

RFE: Add support for "iso8859-6.8" encoding...

Categories

(Core :: Internationalization, enhancement)

All
Linux
enhancement
Not set
normal

Tracking

()

RESOLVED WONTFIX
mozilla1.4beta

People

(Reporter: roland.mainz, Assigned: roland.mainz)

References

()

Details

Attachments

(3 files)

RFE: Add support for "iso8859-6.8" encoding.
This is similar to bug 78201 ("[BiDi]:Arabic 2 byte fonts don't seem to render /
Add support for iso8859-6.8x fonts") and AFAIK we can reuse most of the code
from the original "iso8859-6.8x"-patch for this one...

The matching fonts can be obtained from
http://www.langbox.com/AraZilla/linux/arafontfull-1.2-4.i386.rpm ; I'll attach
the "iso8859-6.8" ones seperately.
Difference between "iso8859-6.8" and "iso8859-6.8x", created using the
following script:
% lynx -dump http://www.langbox.com/arabic/FontSet_ISO8859-6-8.html
>FontSet_ISO8859-6-8.txt
% lynx -dump http://www.langbox.com/arabic/FontSet_ISO8859-6-8X.html
>FontSet_ISO8859-6-8X.txt
% gdiff -u FontSet_ISO8859-6-8.txt FontSet_ISO8859-6-8X.txt
Blocks: 199741
It should be relatively simple to create a decoder based on
mozilla/intl/uconv/ucvlatin/nsUnicodeToLangBoxArabic8.cpp. The only difference
will be in the uni2lbox [] table which maps Unicode to font codes, which will
have to find substitues for the characters in the range 0x81-0x9F.

I can help with that work but I doubt if I will have the cycles to do it myself,
so assigning to nobody@mozilla.org.
Assignee: smontagu → nobody
If I had added proper comments to the mapping table, it would have looked like
this.
Taking myself...
Assignee: nobody → Roland.Mainz
smontagu:
- Should I subclass the ISO8859-6.8x encoder or should I make the ISO8859-6.8x a
subclass of this one ?
- Should I put the encoder in a new source file or should I stick it in the
ISO8859-6.8x sourcers ?
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.4beta
Seems to me more logical that this should be the base class and iso-8859-6.8x a
sub class of it. The two are similar enough that I would put them in the same
source file, but I don't have strong feelings about that if you prefer to
separate them.
No longer blocks: 199741
Blocks: 199741
Filed http://bugs.xfree86.org//cgi-bin/bugzilla/show_bug.cgi?id=420 ("RFE: Add
encodings files for Arabic LangBox encodings iso8859-6.8, iso8859-6.8x and
iso8859-6.16") to get support for these encodings in Xfree86...
QA Contact: amyy → i18n
WONTFIX X11 core fonts bug
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: