Mailing List ArchiveSupport open source code!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]Re: TrueType and X
- To: tlug@example.com
- Subject: Re: TrueType and X
- From: Mike Fabian <mfabian@example.com>
- Date: 03 May 2001 17:43:29 +0200
- Content-Type: text/plain; charset=iso-2022-jp
- In-Reply-To: Nikolay Elkov's message of "Thu, 3 May 2001 22:53:47 +0900"
- References: <20010503225347.A3370@example.com>
- Reply-To: mfabian@example.com
- Resent-From: tlug@example.com
- Resent-Message-ID: <3jVwf.A.LNC.pyX86@example.com>
- Resent-Sender: tlug-request@example.com
- Sender: mfabian@example.com
- User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Copyleft)
Nikolay Elkov <nickx@example.com> writes: > does anyone have an idea how to use ttc(TrueType collection) files > with X(4.0.3)? when I try to use ttmkfdir it writes just '0' to > fonts.dir. how can I make it 'see' the fonts? First, don't edit fonts.dir, as fonts.dir is overwritten by mkfontdir. Edit fonts.scale instead. Second, edit your fonts.scale file manually, for example: msmincho.ttc -Ricoh-MS Mincho-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 msmincho.ttc -Ricoh-MS Mincho-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 [... other entries supported by this font, omitted ...] :2:msmincho.ttc -Ricoh-MS Mincho two-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 :2:msmincho.ttc -Ricoh-MS Mincho two-medium-r-normal--0-0-0-0-c-0-jisx0201.1976-0 [... other entries supported by this font, omitted ...] :2: is the "freetype" syntax to access the second face in the ttc file. "ttc" means TrueType collection, i.e. ttc files are a collection of several TrueType fonts. If you use the "xtt" module instead of the "freetype" module, use ":fn=2" instead of ":2:" to acess the second face, for example: :fn=2:msmincho.ttc -Ricoh-MS Mincho two-medium-r-normal--0-0-0-0-c-0-jisx0208.1983-0 -- Mike Fabian <mfabian@example.com> http://www.suse.de/~mfabian 睡眠不足はいい仕事の敵だ。
- References:
- TrueType and X
- From: Nikolay Elkov <nickx@example.com>
Home | Main Index | Thread Index
- Prev by Date: TrueType and X
- Next by Date: Re: gjiten 0.8
- Prev by thread: TrueType and X
- Next by thread: Command to tell what character encoding a file has
- Index(es):
Home Page Mailing List Linux and Japan TLUG Members Links