Bug 4816 - Type1 fonts whose names end in "koi8-r" aren't displayed properly
Summary: Type1 fonts whose names end in "koi8-r" aren't displayed properly
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: XFree86
Version: 6.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Preston Brown
QA Contact:
URL: ftp://ftp.kapella.gpi.ru/pub/cyrillic...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 1999-09-01 01:31 UTC by dcoffin
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 1999-09-01 14:41:15 UTC
Embargoed:


Attachments (Terms of Use)

Description dcoffin 1999-09-01 01:31:04 UTC
(1)  Download this file and unpack the fonts therein:

ftp://ftp.kapella.gpi.ru/pub/cyrillic/psfonts/gs-type1_koi8_fonts.tgz

(2)  Copy the following to fonts.dir:

16
cokoi8n.pfb -er-kurier
cyr-medium-r-normal--0-0-0-0-m-0-koi8-r
cokoi8i.pfb -er-kurier
cyr-medium-i-normal--0-0-0-0-m-0-koi8-r
cokoi8b.pfb -er-kurier
cyr-bold-r-normal--0-0-0-0-m-0-koi8-r
cokoi8bi.pfb -er-kurier
cyr-bold-i-normal--0-0-0-0-m-0-koi8-r
arial8.pfb -mt-arial cyr-medium-r-normal--0-0-0-0-p-0-koi8-r
ariali8.pfb -mt-arial
cyr-medium-i-normal--0-0-0-0-p-0-koi8-r
arialbd8.pfb -mt-arial cyr-bold-r-normal--0-0-0-0-p-0-koi8-r
arialbi8.pfb -mt-arial cyr-bold-i-normal--0-0-0-0-p-0-koi8-r
cour8.pfb -mt-courier
cyr-medium-r-normal--0-0-0-0-m-0-koi8-r
couri8.pfb -mt-courier
cyr-medium-i-normal--0-0-0-0-m-0-koi8-r
courbd8.pfb -mt-courier
cyr-bold-r-normal--0-0-0-0-m-0-koi8-r
courbi8.pfb -mt-courier
cyr-bold-i-normal--0-0-0-0-m-0-koi8-r
times8.pfb -mt-times cyr-medium-r-normal--0-0-0-0-p-0-koi8-r
timesi8.pfb -mt-times
cyr-medium-i-normal--0-0-0-0-p-0-koi8-r
timesbd8.pfb -mt-times cyr-bold-r-normal--0-0-0-0-p-0-koi8-r
timesbi8.pfb -mt-times cyr-bold-i-normal--0-0-0-0-p-0-koi8-r

(3)  Do "xset +fp $PWD"

(4)  Run "xfontsel" to look at these fonts.

     The fonts show ASCII characters only; all the Russian
letters are blank.  Now edit font.dir, and change "koi8-r"
to
something else, like "foo-r" or "koi-s".  Do "xset fp
rehash",
run "xfontsel" again, and Russian letters magically
appear!

     This behavior is new to Red Hat 6.0.  How do I
configure
X to display *all* glyphs of *all* fonts, regardless of
name?

Comment 1 dcoffin 1999-09-01 01:33:59 UTC
fonts.dir got mangled.  Each line should start with the name
of a .pfb file.

Comment 2 Preston Brown 1999-09-01 14:07:59 UTC
verified correct.  I am talking to the author of xfsft about why this
may be happening.

Comment 3 Preston Brown 1999-09-01 14:41:59 UTC
From the xfsft author:

The fonts are buggy.  Actually, it's a bug in ttf2pt1.  I've had an
extended discussion with the developers of the latter program, and
after an exchange of a couple of dozen e-mails they have refused to
modify their software.
Basically, before xfsft X11 used to be broken w.r.t. international
Type 1 fonts.  For this reason, people generate fonts that work around
the bugs in X11.  Xfsft makes the renderer comply with the Adobe
standards.  This is standard behaviour in XFree86 3.9 and later, so I
suggest you keep it in.

Workarounds are described in

  http://www.dcs.ed.ac.uk/home/jec/programs/xfsft/encodings.html


Note You need to log in before you can comment on or make changes to this bug.