[Bug 885307] RFE: Install STIX-General fonts

bugzilla at redhat.com bugzilla at redhat.com
Sat Dec 8 16:56:40 UTC 2012


Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=885307

--- Comment #3 from Paulo Andrade <paulo.cesar.pereira.de.andrade at gmail.com> ---
Ok. I am not an fonts specialist... It works in f17 but not rawhide:

In f17 I see this:
--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<
$ rpm -q python-matplotlib
python-matplotlib-1.2.0-5.fc17.x86_64
$ rpm -qa | grep stix
stix-fonts-1.0.0-3.fc17.noarch
$ fc-match STIXGeneral
STIXGeneral.otf: "STIXGeneral" "Regular"
$ fc-list | grep -i stix
STIXGeneral:style=Bold
STIXGeneral:style=Italic
STIXGeneral:style=Regular
STIXGeneral:style=Bold Italic
$ sage -t  -force_lib "devel/sage/sage/geometry/cone.py"      
sage -t -force_lib "devel/sage/sage/geometry/cone.py"       
         [5.7 s]

----------------------------------------------------------------------
All tests passed!
Total time for all tests: 5.7 seconds
--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<


And in rawhide:
--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<
$ rpm -q python-matplotlib
python-matplotlib-1.2.0-5.fc19.x86_64
$ rpm -qa | grep stix
stix-math-fonts-1.1.0-3.fc19.noarch
stix-fonts-1.1.0-3.fc19.noarch
$ fc-match STIXGeneral
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading
configurations from ~/.fonts.conf is deprecated.
STIX-Regular.otf: "STIX" "Regular"
$ fc-list | grep -i stix
Fontconfig warning: "/etc/fonts/conf.d/50-user.conf", line 9: reading
configurations from ~/.fonts.conf is deprecated.
/usr/share/fonts/stix/STIX-Regular.otf: STIX:style=Regular
/usr/share/fonts/stix/STIX-Italic.otf: STIX:style=Italic
/usr/share/fonts/stix/STIX-Bold.otf: STIX:style=Bold
/usr/share/fonts/stix/STIX-BoldItalic.otf: STIX:style=Bold Italic
/usr/share/fonts/stix/STIXMath-Regular.otf: STIX Math:style=Regular
$ sage -t  -force_lib "devel/sage/sage/geometry/cone.py"
sage -t -force_lib "devel/sage/sage/geometry/cone.py"       
**********************************************************************
File "/usr/lib64/sagemath/devel/sage/sage/geometry/cone.py", line 930:
    sage: quadrant.plot()
Expected nothing
Got:
    doctest:1214: UserWarning: findfont: Font family ['STIXGeneral'] not found.
Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXSizeOneSym'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXSizeThreeSym'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXSizeFourSym'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXSizeFiveSym'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXSizeTwoSym'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['STIXNonUnicode'] not
found. Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['cmb10'] not found.
Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['cmtt10'] not found.
Falling back to Bitstream Vera Sans
    doctest:1214: UserWarning: findfont: Font family ['cmss10'] not found.
Falling back to Bitstream Vera Sans
    <BLANKLINE>
**********************************************************************
1 items had failures:
   1 of   5 in __main__.example_17
***Test Failed*** 1 failures.
For whitespace errors, see the file /home/pcpa/.sage/tmp/cone_4295.py
         [5.8 s]

----------------------------------------------------------------------
The following tests failed:


        sage -t -force_lib "devel/sage/sage/geometry/cone.py"
Total time for all tests: 5.9 seconds
--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<--%<---%<

Note that I have backported several f18/rawhide packages to f17 in
http://pcpa.fedorapeople.org/sagemath/f17/ and opened the bug report
to somehow try to get some hints on how to address the problem :-)
I see that %{python_sitearch}/matplotlib/font_manager.py does a
popen call to fc-list to find fonts, example in f17:

$ fc-list STIXGeneral
STIXGeneral:style=Bold
STIXGeneral:style=Italic
STIXGeneral:style=Regular
STIXGeneral:style=Bold Italic

but rawhide returns nothing for the same command. Is it expected?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=kOgfkfY16O&a=cc_unsubscribe


More information about the fonts-bugs mailing list