qemacs and xcalc cant load fonts.

You can report problems, make suggestions, about the new BETA versions in this forum. For stuff related to final releases, please post a message in other forums
Post Reply
gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

qemacs and xcalc cant load fonts.

Post by gernot » 05 Dec 2011, 12:01

The problem is that the pcf files are not gzipped , but fonts.dir was created with gziped files.
The same problem exist with the encoding files.

Code: Select all

ls -l  usr/share/fonts/100dpi 
4019 -rw-r--r--  1 root root  68816 Oct 14 20:49 courB08.pcf
 
head /usr/share/fonts/100dpi/fonts.dir 
102
courB08.pcf.gz -adobe-courier-bold-r-normal--11-80-100-100-m-60-iso10646-1
courB10.pcf.gz -adobe-courier-bold-r-normal--14-100-100-100-m-90-iso10646-1
reuild the files, then restart x

Code: Select all

mkfontdir -e /usr/share/fonts/encodings -- /usr/share/fonts/100dpi /usr/share/fonts/75dpi /usr/share/fonts/misc /usr/share/fonts/terminus /usr/share/fonts/TTF /usr/share/fonts/Type1 /usr/share/fonts/unifont


solve the problem for qemacs but not for xcalc

I think xcalc has a problem with encodings.

xcalc work only with fixed font:

Code: Select all

xcalc -fn fixed

Orginalposts are here:
http://www.sysresccd.org/forums/viewtop ... f=3&t=4308

Gernot

gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

Re: qemacs and xcalc cant load fonts. in 2.5.0 too

Post by gernot » 18 Dec 2011, 17:17

The problem exist in 2.5.0beta1

Is it possible to add the "makefontdir" to the CD build process?

Gernot

admin
Site Admin
Posts: 2715
Joined: 17 Jul 2003, 09:44

Re: qemacs and xcalc cant load fonts.

Post by admin » 18 Dec 2011, 20:13

Hi Gernot,

Thanks for your bug report and your investigations. I have added the mkfontdir in sysresccd-2.5.0 so the problem with the .gz extension should be gone now. It is now possible to start qemacs.

Adding a new USE flag for the fonts fixes the problem for xcalc, it will be in sysresccd-2.5.0-beta003
media-fonts/font-adobe-75dpi nls
media-fonts/font-cursor-misc nls
media-fonts/font-misc-misc nls

Thanks for your help
Francois

gernot
Posts: 1131
Joined: 07 Apr 2010, 16:19

Re: qemacs and xcalc cant load fonts.

Post by gernot » 19 Dec 2011, 18:15

Both programs work.

Thank you.
Gernot

nickalreadytaken
Posts: 101
Joined: 21 Oct 2010, 12:29

Re: qemacs and xcalc cant load fonts.

Post by nickalreadytaken » 23 Dec 2011, 18:08

@Admin: Thank you for fixing and your continous work on the project.

@Gernot: Thanks for testing.

I noticed the problem originally.

Merry x-mas,

Post Reply