[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Codepage?
From: |
Antoine Leca |
Subject: |
Re: Codepage? |
Date: |
Fri, 28 Apr 2000 10:34:04 +0200 |
Rob Kramer wrote:
>
> Can someone tell me if it's possible to see what codepage a font should
> use?
No.
There is nothing like a codepage that is needed to access data in a font.
Or more precisely, you need to use codepage 1200, which is another name
for Unicode native format, for the "normal" fonts. For fonts that tries
to mimic a given codepage while being in fact a "normal" (alias
Win 3.1 ANSI) font, which I consider being a bad idea BTW, there is no
way to "know" what for a codepage is used, you need to guess (sometimes
names gives educated guesses: for example, if the font name ends with
CE or Cyr or Greek, 1250 resp. 1251 resp. 1253 is probable; if it ends
in TSCII it is in the Tamil codepage named TSCII; etc.)
To be complete, there is a obscure hack in some Windows 3.1 fonts.
I (or Adam) can explain it more fully if that is really what you need
to know, but it is IMHO so horrible that I would not give you false
paths.
> Right now I have to get the user to specify the codepage if he wants it
> to be anything other than zero, but users usually don't understand much
> about codepages..
And Freetype does not understand much either!
Can you explain what gives you the feeling that codepage should be used
at all with Freetype? I fail to see the connection.
Antoine
- Codepage?, Rob Kramer, 2000/04/27
- Re: Codepage?,
Antoine Leca <=