You are not logged in.

#1 2019-03-24 01:33:16

pedrocbelem
Member
Registered: 2019-03-24
Posts: 5

Font not recognized

Since an update I noticed that fc-list no longer recognizes gohu font with size 14 even though the pcf.gz files are in /usr/share/fonts/misc next to gohu font size 11.

$ ls /usr/share/fonts/misc | grep gohu   
gohufont-11b.pcf.gz
gohufont-11.pcf.gz
gohufont-14b.pcf.gz
gohufont-14.pcf.gz
gohufont-uni-11b.pcf.gz
gohufont-uni-11.pcf.gz
gohufont-uni-14b.pcf.gz
gohufont-uni-14.pcf.gz
$ fc-cache -fv | grep misc
/usr/share/fonts/misc: caching, new cache contents: 123 fonts, 0 dirs
/usr/share/fonts/misc: skipping, looped directory detected
$ fc-list | grep gohu                                                    
/usr/share/fonts/misc/gohufont-uni-11.pcf.gz: Gohu GohuFont:style=Regular
/usr/share/fonts/misc/gohufont-uni-11b.pcf.gz: Gohu GohuFont:style=Bold

However with xlsfonts all the sizes are detected.

$ xlsfonts | grep gohu 
-gohu-gohufont-bold-r-normal--0-0-100-100-c-0-iso10646-1
-gohu-gohufont-bold-r-normal--0-0-100-100-c-0-iso8859-1
-gohu-gohufont-bold-r-normal--11-80-100-100-c-60-iso10646-1
-gohu-gohufont-bold-r-normal--11-80-100-100-c-60-iso8859-1
-gohu-gohufont-bold-r-normal--14-100-100-100-c-80-iso10646-1
-gohu-gohufont-bold-r-normal--14-100-100-100-c-80-iso8859-1
-gohu-gohufont-medium-r-normal--0-0-100-100-c-0-iso10646-1
-gohu-gohufont-medium-r-normal--0-0-100-100-c-0-iso8859-1
-gohu-gohufont-medium-r-normal--11-80-100-100-c-60-iso10646-1
-gohu-gohufont-medium-r-normal--11-80-100-100-c-60-iso8859-1
-gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso10646-1
-gohu-gohufont-medium-r-normal--14-100-100-100-c-80-iso8859-1

I've tried to downgrade font related packages and reinstall gohu font both with the aur package and manually with no success.

Any idea?

Offline

#2 2019-03-24 07:03:15

seth
Member
Registered: 2012-09-03
Posts: 51,273

Re: Font not recognized

sudo fc-cache -rs # "R"eally force
fc-conflist

Online

#3 2019-03-24 15:30:22

pedrocbelem
Member
Registered: 2019-03-24
Posts: 5

Re: Font not recognized

$ sudo fc-cache -rsv                                                               
/usr/share/fonts: caching, new cache contents: 0 fonts, 11 dirs
/usr/share/fonts/100dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/75dpi: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/OTF: caching, new cache contents: 24 fonts, 0 dirs
/usr/share/fonts/TTF: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/adobe-source-code-pro: caching, new cache contents: 30 fonts, 0 dirs
/usr/share/fonts/cantarell: caching, new cache contents: 5 fonts, 0 dirs
/usr/share/fonts/cyrillic: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/encodings: caching, new cache contents: 0 fonts, 1 dirs
/usr/share/fonts/encodings/large: caching, new cache contents: 0 fonts, 0 dirs
/usr/share/fonts/misc: caching, new cache contents: 123 fonts, 0 dirs
/usr/share/fonts/noto: caching, new cache contents: 469 fonts, 0 dirs
/usr/share/fonts/util: caching, new cache contents: 0 fonts, 0 dirs
/usr/local/share/fonts: skipping, no such directory
/usr/share/fonts/100dpi: skipping, looped directory detected
/usr/share/fonts/75dpi: skipping, looped directory detected
/usr/share/fonts/OTF: skipping, looped directory detected
/usr/share/fonts/TTF: skipping, looped directory detected
/usr/share/fonts/adobe-source-code-pro: skipping, looped directory detected
/usr/share/fonts/cantarell: skipping, looped directory detected
/usr/share/fonts/cyrillic: skipping, looped directory detected
/usr/share/fonts/encodings: skipping, looped directory detected
/usr/share/fonts/misc: skipping, looped directory detected
/usr/share/fonts/noto: skipping, looped directory detected
/usr/share/fonts/util: skipping, looped directory detected
/usr/share/fonts/encodings/large: skipping, looped directory detected
/var/cache/fontconfig: cleaning cache directory
fc-cache: succeeded
$ fc-conflist                                                                      
+ /etc/fonts/conf.d/10-hinting-slight.conf: Set hintslight to hintstyle
+ /etc/fonts/conf.d/10-powerline-symbols.conf: No description
+ /etc/fonts/conf.d/10-scale-bitmap-fonts.conf: Bitmap scaling
+ /etc/fonts/conf.d/20-unhint-small-vera.conf: Disable hinting for Bitstream Vera fonts when the size is less than 8ppem
+ /etc/fonts/conf.d/30-metric-aliases.conf: Set substitutions for similar/metric-compatible families
+ /etc/fonts/conf.d/40-nonlatin.conf: Set substitutions for non-Latin fonts
+ /etc/fonts/conf.d/45-generic.conf: Set substitutions for emoji/math fonts
+ /etc/fonts/conf.d/45-latin.conf: Set substitutions for Latin fonts
+ /etc/fonts/conf.d/49-sansserif.conf: Add sans-serif to the family when no generic name
+ /etc/fonts/conf.d/50-user.conf: Load per-user customization files
+ /etc/fonts/conf.d/51-local.conf: Load local customization file
+ /etc/fonts/conf.d/60-generic.conf: Set preferable fonts for emoji/math fonts
+ /etc/fonts/conf.d/60-latin.conf: Set preferable fonts for Latin
+ /etc/fonts/conf.d/65-fonts-persian.conf: No description
+ /etc/fonts/conf.d/65-nonlatin.conf: Set preferable fonts for non-Latin
+ /etc/fonts/conf.d/69-unifont.conf: No description
+ /etc/fonts/conf.d/70-yes-bitmaps.conf: Accept bitmap fonts
+ /etc/fonts/conf.d/75-yes-dina.conf: No description
+ /etc/fonts/conf.d/75-yes-terminus.conf: No description
+ /etc/fonts/conf.d/80-delicious.conf: No description
+ /etc/fonts/conf.d/81-ubuntu.conf: No description
+ /etc/fonts/conf.d/90-synthetic.conf: No description
+ /etc/fonts/fonts.conf: Default configuration file
- /etc/fonts/conf.avail/10-autohint.conf: Enable autohinter
- /etc/fonts/conf.avail/10-hinting-full.conf: Set hintfull to hintstyle
- /etc/fonts/conf.avail/10-hinting-medium.conf: Set hintmedium to hintstyle
- /etc/fonts/conf.avail/10-hinting-none.conf: Set hintnone to hintstyle
- /etc/fonts/conf.avail/10-no-sub-pixel.conf: Disable sub-pixel rendering
- /etc/fonts/conf.avail/10-sub-pixel-bgr.conf: Enable sub-pixel rendering with the BGR stripes layout
- /etc/fonts/conf.avail/10-sub-pixel-rgb.conf: Enable sub-pixel rendering with the RGB stripes layout
- /etc/fonts/conf.avail/10-sub-pixel-vbgr.conf: Enable sub-pixel rendering with the vertical BGR stripes layout
- /etc/fonts/conf.avail/10-sub-pixel-vrgb.conf: Enable sub-pixel rendering with the vertical RGB stripes layout
- /etc/fonts/conf.avail/10-unhinted.conf: Disable hinting
- /etc/fonts/conf.avail/11-lcdfilter-default.conf: Use lcddefault as default for LCD filter
- /etc/fonts/conf.avail/11-lcdfilter-legacy.conf: Use lcdlegacy as default for LCD filter
- /etc/fonts/conf.avail/11-lcdfilter-light.conf: Use lcdlight as default for LCD filter
- /etc/fonts/conf.avail/25-unhint-nonlatin.conf: Disable hinting for CJK fonts
- /etc/fonts/conf.avail/65-khmer.conf: No description
- /etc/fonts/conf.avail/66-noto-mono.conf: No description
- /etc/fonts/conf.avail/66-noto-sans.conf: No description
- /etc/fonts/conf.avail/66-noto-serif.conf: No description
- /etc/fonts/conf.avail/70-no-bitmaps.conf: Reject bitmap fonts

Thanks for the suggestion. Really forcing fc-cache did not resolve it.

$ fc-list | grep gohu
/usr/share/fonts/misc/gohufont-uni-11.pcf.gz: Gohu GohuFont:style=Regular
/usr/share/fonts/misc/gohufont-uni-11b.pcf.gz: Gohu GohuFont:style=Bold

Offline

Board footer

Powered by FluxBB