fontconfig priority management

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 17 Oct 2018, Nicolas Mailhot wrote:

> In case that was not clear: if you have a particular question just ask!
> We're not being cryptic on purpose.

well, I am wrestling with a 'priority' issue (I think) 
presently.  Reading the man page for: fc-match it asserts it:

	-s     Displays sorted list of best matching fonts


assumedly: 
	using  the  normal fontconfig matching rules to find 
	the best font available

whatever those are.  I have read files, and do not see any 
obvious specification of 'priorities' 


Installed are:

[herrold@centos-7 unsorted]$ rpm -qa | sort | grep font 
abattis-cantarell-fonts-0.0.25-1.el7.noarch
adobe-source-code-pro-fonts-2.030.1.050-5.el7.noarch
bitmap-lucida-typewriter-fonts-0.3-21.el7.noarch
dejavu-fonts-common-2.33-6.el7.noarch
dejavu-lgc-sans-fonts-2.33-6.el7.noarch
dejavu-lgc-sans-mono-fonts-2.33-6.el7.noarch
dejavu-sans-fonts-2.33-6.el7.noarch
dejavu-sans-mono-fonts-2.33-6.el7.noarch
dejavu-serif-fonts-2.33-6.el7.noarch
fontawesome-fonts-4.1.0-1.el7.noarch
fontawesome-fonts-web-4.1.0-1.el7.noarch
fontconfig-2.10.95-11.el7.x86_64
fontconfig-devel-2.10.95-11.el7.x86_64
fontforge-20150824-1.orc7.x86_64
fontpackages-devel-1.44-8.orc7.noarch
fontpackages-filesystem-1.44-8.orc7.noarch
fonttools-2.4-3.el7.x86_64
ghostscript-fonts-5.50-37.orc7.noarch
google-crosextra-caladea-fonts-1.002-0.4.20130214.el7.noarch
google-crosextra-carlito-fonts-1.103-0.2.20130920.el7.noarch
google-roboto-slab-fonts-1.100263-0.3.20150923git.el7.noarch
hack-fonts-2.018-1.el7.centos.noarch
lato-fonts-2.010-3.el7.noarch
levien-inconsolata-fonts-1.01-12.el7.centos.noarch
liberation-fonts-1.07.2-16.el7.noarch
liberation-fonts-common-1.07.2-16.el7.noarch
liberation-mono-fonts-1.07.2-16.el7.noarch
liberation-narrow-fonts-1.07.2-16.el7.noarch
liberation-sans-fonts-1.07.2-16.el7.noarch
liberation-serif-fonts-1.07.2-16.el7.noarch
libfontenc-1.1.3-3.el7.x86_64
libfontenc-devel-1.1.3-3.el7.x86_64
libreoffice-opensymbol-fonts-5.3.6.1-10.el7.noarch
libXfont-1.5.2-1.el7.x86_64
libXfont2-2.0.1-2.el7.x86_64
libXfont2-devel-2.0.1-2.el7.x86_64
libXfont-devel-1.5.2-1.el7.x86_64
lyx-fonts-2.2.3-1.el7.noarch
mathjax-ams-fonts-2.4.0-1.el7.noarch
mathjax-caligraphic-fonts-2.4.0-1.el7.noarch
mathjax-fraktur-fonts-2.4.0-1.el7.noarch
mathjax-main-fonts-2.4.0-1.el7.noarch
mathjax-math-fonts-2.4.0-1.el7.noarch
mathjax-sansserif-fonts-2.4.0-1.el7.noarch
mathjax-script-fonts-2.4.0-1.el7.noarch
mathjax-size1-fonts-2.4.0-1.el7.noarch
mathjax-size2-fonts-2.4.0-1.el7.noarch
mathjax-size3-fonts-2.4.0-1.el7.noarch
mathjax-size4-fonts-2.4.0-1.el7.noarch
mathjax-typewriter-fonts-2.4.0-1.el7.noarch
mathjax-winchrome-fonts-2.4.0-1.el7.noarch
mathjax-winie6-fonts-2.4.0-1.el7.noarch
msttcore-fonts-installer-2.6-1.noarch
open-sans-fonts-1.10-1.el7.noarch
stix-fonts-1.1.0-5.el7.noarch
stix-math-fonts-1.1.0-5.el7.noarch
texlive-amsfonts-svn29208.3.04-38.el7.noarch
texlive-collection-fontsrecommended-svn28082.0-38.20130427_r30134.el7.noarch
texlive-fontbook-svn23608.0.2-38.el7.noarch
texlive-fontspec-svn29412.v2.3a-38.el7.noarch
texlive-fontwrap-svn15878.0-38.el7.noarch
texlive-latex-fonts-svn28888.0-38.el7.noarch
texlive-metafont-bin-svn26912.0-38.20130427_r30134.el7.x86_64
texlive-metafont-svn26689.2.718281-38.el7.noarch
texlive-pxfonts-svn15878.0-38.el7.noarch
texlive-txfonts-svn15878.0-38.el7.noarch
texlive-xetexfontinfo-svn15878.0-38.el7.noarch
urw-base35-bookman-fonts-20170801-11.orc7.noarch
urw-base35-c059-fonts-20170801-11.orc7.noarch
urw-base35-d050000l-fonts-20170801-11.orc7.noarch
urw-base35-fonts-20170801-11.orc7.noarch
urw-base35-fonts-common-20170801-11.orc7.noarch
urw-base35-gothic-fonts-20170801-11.orc7.noarch
urw-base35-nimbus-mono-ps-fonts-20170801-11.orc7.noarch
urw-base35-nimbus-roman-fonts-20170801-11.orc7.noarch
urw-base35-nimbus-sans-fonts-20170801-11.orc7.noarch
urw-base35-p052-fonts-20170801-11.orc7.noarch
urw-base35-standard-symbols-ps-fonts-20170801-11.orc7.noarch
urw-base35-z003-fonts-20170801-11.orc7.noarch
xorg-x11-fonts-100dpi-7.5-9.el7.noarch
xorg-x11-fonts-75dpi-7.5-9.el7.noarch
xorg-x11-fonts-ISO8859-1-100dpi-7.5-9.el7.noarch
xorg-x11-fonts-ISO8859-1-75dpi-7.5-9.el7.noarch
xorg-x11-fonts-misc-7.5-9.el7.noarch
xorg-x11-fonts-Type1-7.5-9.el7.noarch
xorg-x11-font-utils-7.5-20.el7.x86_64
[herrold@centos-7 unsorted]$ 


and the 'best' matches for 'Times Roman' are:

[herrold@centos-7 ~]$ fc-match -s "Times" | head -n 5 
NimbusRoman-Regular.otf: "Nimbus Roman" "Regular"
times.ttf: "Times New Roman" "Normal"
LiberationSerif-Regular.ttf: "Liberation Serif" "Regular"
DejaVuSerif.ttf: "DejaVu Serif" "Book"
DejaVuSerif-Bold.ttf: "DejaVu Serif" "Bold"
[herrold@centos-7 ~]$ 
	


But something is missing, I believe, formerly carried in a 
pre-refactoring urw- font package:

This is one candidate PDF which provokes the stderr messages 
below:

	http://gallery.herrold.com/stuff/ibm-rest-cloud-api-20180727.pdf

[herrold@centos-7 unsorted]$ file ibm-rest-cloud-api-20180727.pdf
ibm-rest-cloud-api-20180727.pdf: PDF document, version 1.5


[herrold@centos-7 unsorted]$ xpdf 
ibm-rest-cloud-api-20180727.pdf 1> /dev/null 
Config Error: No display font for 'Courier'
Config Error: No display font for 'Courier-Bold'
Config Error: No display font for 'Courier-BoldOblique'
Config Error: No display font for 'Courier-Oblique'
Config Error: No display font for 'Helvetica'
Config Error: No display font for 'Helvetica-Bold'
Config Error: No display font for 'Helvetica-BoldOblique'
Config Error: No display font for 'Helvetica-Oblique'
Config Error: No display font for 'Symbol'
Config Error: No display font for 'Times-Bold'
Config Error: No display font for 'Times-BoldItalic'
Config Error: No display font for 'Times-Italic'
Config Error: No display font for 'Times-Roman'
Config Error: No display font for 'ZapfDingbats'


===========

I would _like_ to have the old URW fontset back, 
unsatisfactory as it is considered in modern practice, present 
and working, but at whatever the lowest preferance priority 
is, so that I have the old PDF base series exact matched

I do not attach, as it contains Personally Identificable 
Information, a form from the US Social Security 
Administration, and another from an insurance carrier I use, 
and neither is useful in Linux.  See a PII sanitized 
screenshot:

	http://gallery.herrold.com/stuff/nasty-laying-PDF.png

I am happy to file a bug, either in the Red Hat tracker or 
elsewhere as needed, and to reply to any questions

Please let me know

-- Russ herrold
_______________________________________________
fonts mailing list -- fonts@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to fonts-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/fonts@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Users]     [Font Configuration]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux