nanogui: Thread: Something wrong with the True Type Font configure.


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Something wrong with the True Type Font configure.
From: ####@####.####
Date: 20 Jul 2001 02:11:39 -0000
Message-Id: <3B578F98.3020803@neomuse.com>

Hi Greg!
I wanna know that the FREETYPE_FONT_DIR is working normally.
because even If I set it, CreateFont will find the TTFonts in
"/usr/local/microwin/fonts" directory.
And I have a question bout one more thing that I'm not sure about it.
It's about, when loading the True type Fonts if the font is for
multibyte character, but using 1-byte character
I thought It would make an error on runtime.
but It doesn't and worked fine. THEN how do I set the default Font to
use english.
By the way I'm using Korean TTFont.
Can I Create two Fonts together?
And Finally, can I use TTF without using unicode?

Best Regards,
Sang-Baek Lee


Subject: Re: [nanogui] Something wrong with the True Type Font configure.
From: "Greg Haerr" ####@####.####
Date: 24 Jul 2001 04:58:22 -0000
Message-Id: <02be01c113fc$fa2faf80$3aba46a6@xmission.com>

: I wanna know that the FREETYPE_FONT_DIR is working normally.
: because even If I set it, CreateFont will find the TTFonts in
: "/usr/local/microwin/fonts" directory.

I'll check into this, this sounds like a bug.  You
can check the code in src/engine/devfont.c, GdCreateFont.



: And I have a question bout one more thing that I'm not sure about it.
: It's about, when loading the True type Fonts if the font is for
: multibyte character, but using 1-byte character
: I thought It would make an error on runtime.
: but It doesn't and worked fine. THEN how do I set the default Font to
: use english.

Any multi-byte handling is parsed beforehand by
the stream decoding functions in devfont.c and genfont.c.
Afterwards, a byte or word-sized index into the font is
used, never a multi-byte sequence.



: By the way I'm using Korean TTFont.
: Can I Create two Fonts together?
: And Finally, can I use TTF without using unicode?

Just specify a different MWTF_UTF8 or MTWF_ASCII
in the GrText call.  The stream encoding and font
indexing are separately handled in Microwindows.


Regards,

Greg


Subject: Re: [nanogui] Something wrong with the True Type Font configure.
From: Isaac Hwak Han (=?iso-8859-1?Q?=C7=D1=C8=AE?=) ####@####.####
Date: 24 Jul 2001 16:20:57 -0000
Message-Id: <3B57A389.958D1DC0@technonia.com>

Hi.
I'm pleased to see another Korean on the list. I've also tried
displaying Korean TTFs on microwindows. Displaying the standard
gulim.ttc or batang.ttc (after extracting single font family from
them) is also possible, though the size was a little big for
embedded system's use.

About your first question:
As you might know, almost all TTF (even multi-byte version) also
include their English glyphs. If you want to use two fonts at the
same time. you can create two HFONTs and switch to the other
using SelectObject() (when you're using Win32 API).

About your second question:
It's possible. But remember most (free) Unicode-encoded Korean
TTFs only include their EUC-KR glyphs. There's no great
differences between using Unicode-encoding and other encodings.
TTFs have their own merits, but the huge size of the font
(typically +4MB) prevented us from using them on our device.

-- 
Isaac Hwak Han (ÇÑÈ®)
####@####.####
http://www.technonia.com

ÀÌ»ó¹é wrote:
> 
> Hi Greg!
> I wanna know that the FREETYPE_FONT_DIR is working normally.
> because even If I set it, CreateFont will find the TTFonts in
> "/usr/local/microwin/fonts" directory.
> And I have a question bout one more thing that I'm not sure about it.
> It's about, when loading the True type Fonts if the font is for
> multibyte character, but using 1-byte character
> I thought It would make an error on runtime.
> but It doesn't and worked fine. THEN how do I set the default Font to
> use english.
> By the way I'm using Korean TTFont.
> Can I Create two Fonts together?
> And Finally, can I use TTF without using unicode?
> 
> Best Regards,
> Sang-Baek Lee
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.