Hi Valentin,

thanks for the link to the free font, I checked that too and yes, it works
here too!

It seems that the 2 fonts I bought contain the central european characters
but are coded in another manner, maybe unicode, maybe 4GL, I don't know.

The problem seems to be that when you buy a font for Central Europe, you are
not sure what kind of character coding you get.

If anybody has a source for Central European fonts that are coded in the way
described earlier in my posting, please let me know.

And Valentin, thanks again for your reply!

Michael




-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Valentin Schmidt
Sent: Monday, April 03, 2006 6:44 PM
To: Lingo programming discussion list
Subject: Re: <lingo-l> using different charsets of a font in a director
movie

hi michael,

I've cross-checked this myself with the free windows-1250 font "XSerif CE" 
(http://homepages.uni-tuebingen.de/stud/l1/zxmld13/slovo/Download/xserce.zip
),
and it worked for me, numtochar(165) is displayed as CAPITAL LETTER A WITH
OGONEK. So I guess your problem is specific to your font file? 
Maybe it's actually ISO 8859-2 encoded (which has almost the same characters
as windows-1250, but at rearranged positions)?

some maybe trivial tip:
with lingo like

s=""
repeat with i = 32 to 255
  put i&" "&numtochar(i)&RETURN after s
end repeat
member("test").text=s

you get a complete table of the font that's assigned to member("test") and
can compare it with the various encoding tables you can find e.g. at
http://en.wikipedia.org/wiki/Character_encoding
(following the links under "Popular character encodings" at end of page)

cheers,
valentin




Michael von Aichberger 2 wrote:
> Hi list,
>
> I need to display region-specific characters of a given typeface in a 
> director-movie. As Director - unfortunately - is not Unicode-aware, I 
> bought 4 ttf-fonts of the same typeface. One for codepage 1252 
> (western europe), one for 1250 (central europe), one for codepage 1251 
> (cyrillic) and finally one for codepage 1253 (greek).
>
> My guess was that if I wanted to display let's say the polish letter 
> "LATIN CAPITAL LETTER A WITH OGONEK", (Unicode 260), I just had to 
> look that up in a table for codepage 1250, find out that it's ANSI 165 
> there, make a text member in Director, apply the central european 
> version of my font to that text member, assign numtochar(165) as the 
> text of the member and could expect to see the A with ogonek.
>
> This procedure worked well for the cyrillic letters and also for the 
> greek ones, but it failed for the central european ones.
>
> I cross-checked with the central european version of another typeface, 
> but got the same results: Director gives me the letters of codepage 
> 1252 (western europe) as far as they are available in the central 
> european version, otherwise it gives me nothing.
>
> So here's my question: How can I use fonts for other codepages in 
> Director on a system set to codepage 1252?
>
> Has anybody done this before and could help me with this issue?
>
> Thanks in advance!
>
> Michael
>
> [To remove yourself from this list, or to change to digest mode, go to 
> http://www.penworks.com/lingo-l.cgi  To post messages to the list, 
> email [email protected]  (Problems, email 
> [EMAIL PROTECTED]). Lingo-L is for learning and helping with 
> programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is
for learning and helping with programming Lingo.  Thanks!]

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to