Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23958 - Ebuild for Cronyx fonts (present in default X distribution), which are currently missing.
Summary: Ebuild for Cronyx fonts (present in default X distribution), which are curren...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Fonts Team
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2003-07-04 17:56 UTC by Alexey Spiridonov
Modified: 2004-07-08 00:59 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cronyx fonts ebuild (cronyx-fonts-2.3.1.ebuild.gz,632 bytes, application/x-gzip)
2003-07-04 17:57 UTC, Alexey Spiridonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Spiridonov 2003-07-04 17:56:48 UTC
Hello,

XFree ships with cyrillic fonts from the Cronyx foundry. These are not installed 
by xfree-base. The fonts in X are somewhat outdated but better than nothing. 

My ebuild (attached, cronyx-fonts-2.3.1.ebuild.gz) installs the latest version
of these fonts, as available here:
http://koi8.pp.ru/frame.html?unix.html#unix_fonts

These fonts are essential to Russian-language users, since no default Gentoo
fonts supply:
a) good cyrillic terminal fonts (andale mono is not, IMO)
b) cyrillic versions of standard X fonts (helvetica, times, etc)

My ebuild is based off a few of the existing font ebuilds. 

Reproducible: Always
Steps to Reproduce:
1. Install all font packages available in Gentoo
2. Update your X font paths
3. Open xfontsel
4. Click on foundry; no "cronyx" is available.

Alternatively,

ls /usr/X11R6/lib/X11/fonts/*/crox*

brings up nothing.

Actual Results:  
No fonts available :)
Comment 1 Alexey Spiridonov 2003-07-04 17:57:44 UTC
Created attachment 14165 [details]
cronyx fonts ebuild
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-05 00:47:34 UTC
Sorry for the long delay. I changed the font path from
/usr/X11R6/lib/fonts to /usr/share/fonts and added it to CVS.
Thanks for the bug report!
Comment 3 Alexey Spiridonov 2004-07-07 18:34:31 UTC
Thanks for adding the ebuild. There's a slight problem, IMO, with changing the font path to /usr/share/fonts. The ebuild installs into three directories under that root: 100dpi, 75dpi, and misc. My original setup was very convenient, since you didn't have to add new X font paths to use the fonts. Without a font server, you would just say:

xset fp rehash

to instantaneously get access to them, without restarting the X server or modifying any settings. 

The same 3 directories don't make sense under /usr/share/fonts. If you think the right place is in share/fonts, at least make it /usr/share/fonts/cronyx. Then, there should be some instructions about adding font paths:

einfo "In order to make X see the fonts, you need to add the"
einfo "following lines to the files section of your "
einfo "/etc/X11/XF86Config (or the XOrg equivalent):"
einfo "  FontPath \"/usr/share/fonts/cronyx/100dpi/:unscaled\""
einfo "  FontPath \"/usr/share/fonts/cronyx/misc/:unscaled\""
einfo "  FontPath \"/usr/share/fonts/cronyx/75dpi/:unscaled\""
einfo ""
einfo "In order to make them accessible to your current X 
einfo "session, run:
einfo "  xset fp+ /usr/share/fonts/cronyx/100dpi/:unscaled,\
einfo "/usr/share/fonts/cronyx/misc/:unscaled,\
einfo "/usr/share/fonts/cronyx/75dpi/:unscaled
einfo "  xset fp rehash

However, if you agree with the considerations of convenience, please revert the font path, and add lines to the effect of:

einfo "If you're currently running X (no font server) type"
einfo "  xset fp rehash"
einfo "to make X see the new fonts."

Thanks a lot!
Comment 4 Alexey Spiridonov 2004-07-07 20:16:50 UTC
Reopening till the path is sorted out.
Comment 5 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-07 21:15:40 UTC
Once you switch to xorg, you won't need to add any configuration for those directories because all fonts install there.

That said, in my opinion all external fonts packages should stay out of those directories, so it's easier to diagnose fonts or font packages that cause problems by removing directories.
Comment 6 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-07-07 23:55:41 UTC
Updated to use /usr/share/fonts/cronyx/{100dpi,75dpi,misc}
and added instructions. Thanks for the suggestion.
Comment 7 Donnie Berkholz (RETIRED) gentoo-dev 2004-07-08 00:59:07 UTC
Might also want to mention adding the dir to /etc/fonts/local.conf.