nanogui: Something wrong with the True Type Font configure.


Previous by date: 24 Jul 2001 04:58:22 -0000 Re: StretchBlit() ?, Greg Haerr
Next by date: 24 Jul 2001 04:58:22 -0000 Re: [nanogui] Something wrong with the True Type Font configure., Isaac Hwak Han (=?iso-8859-1?Q?=C7=D1=C8=AE?=)
Previous in thread: 24 Jul 2001 04:58:22 -0000 Something wrong with the True Type Font configure., 이상백
Next in thread: 24 Jul 2001 04:58:22 -0000 Re: [nanogui] Something wrong with the True Type Font configure., Isaac Hwak Han (=?iso-8859-1?Q?=C7=D1=C8=AE?=)

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



Previous by date: 24 Jul 2001 04:58:22 -0000 Re: StretchBlit() ?, Greg Haerr
Next by date: 24 Jul 2001 04:58:22 -0000 Re: [nanogui] Something wrong with the True Type Font configure., Isaac Hwak Han (=?iso-8859-1?Q?=C7=D1=C8=AE?=)
Previous in thread: 24 Jul 2001 04:58:22 -0000 Something wrong with the True Type Font configure., 이상백
Next in thread: 24 Jul 2001 04:58:22 -0000 Re: [nanogui] Something wrong with the True Type Font configure., Isaac Hwak Han (=?iso-8859-1?Q?=C7=D1=C8=AE?=)


Powered by ezmlm-browse 0.20.