|
Bugzilla – Full Text Bug Listing |
| Summary: | Monospaced font SourceCodePro is bold by default after update to texlive 2017 | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE Tumbleweed | Reporter: | Philipp Wagner <mail> |
| Component: | Other | Assignee: | Dr. Werner Fink <werner> |
| Status: | RESOLVED FIXED | QA Contact: | E-mail List <qa-bugs> |
| Severity: | Normal | ||
| Priority: | P5 - None | CC: | badshah400, mail, rombert, sndirsch, werner |
| Version: | Current | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| See Also: | http://bugzilla.opensuse.org/show_bug.cgi?id=1181691 | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 1181691 | ||
| Attachments: |
Screenshot with texlive-sourcecodepro installed
Screenshot *without* texlive-sourcecodepro installed fc-match with texlive-sourcecodepro installed fc-match *without* texlive-sourcecodepro installed |
||
|
Description
Philipp Wagner
2017-06-27 08:52:55 UTC
Created attachment 730331 [details]
Screenshot *without* texlive-sourcecodepro installed
Created attachment 730332 [details]
fc-match with texlive-sourcecodepro installed
Created attachment 730333 [details]
fc-match *without* texlive-sourcecodepro installed
I forgot the zypper output before removing the texlive fonts:
> sudo zypper search sourcecode
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...
S | Name | Zusammenfassung | Typ
---+-----------------------------+----------------------------------------------------------+------
i+ | adobe-sourcecodepro-fonts | A set of OpenType fonts designed for coding environments | Paket
i | texlive-sourcecodepro | Use SourceCodePro with TeX(-alike) systems | Paket
i | texlive-sourcecodepro-doc | Documentation for texlive-sourcecodepro | Paket
i | texlive-sourcecodepro-fonts | Severed fonts for texlive-sourcecodepro | Paket
The question rises which of the fonts are wrong as there are e.g.
2017/packages> tar tf sourcecodepro.tar.xz | \
grep sourcecodepro/SourceCodePro | grep tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Black-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-BlackIt-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Bold-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-BoldIt-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-ExtraLight-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-ExtraLightIt-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-It-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Light-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-LightIt-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Medium-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-MediumIt-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Regular-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-Semibold-tosf-ts1.vf
fonts/vf/adobe/sourcecodepro/SourceCodePro-SemiboldIt-tosf-ts1.vf
2017/packages> tar Oxf sourcecodepro.tar.xz tlpkg/tlpobj/sourcecodepro.tlpobj |\
grep ^catalogue
catalogue-ctan /fonts/sourcecodepro
catalogue-date 2016-06-24 19:18:15 +0200
catalogue-license ofl
catalogue-topics font font-mono font-otf font-type1
catalogue-version 2.6
2017/packages> rpm -q adobe-sourcecodepro-fonts
adobe-sourcecodepro-fonts-2.010-15.1.noarch
that is that this seems to be how adobe had defined there fonts in version 2.6 ... adding maintainer of adobe-sourcecodepro-fonts to Carbon Copy
I've packaged the latest source code pro version in my home repo at https://build.opensuse.org/package/show/home:robert_munteanu:branches:M17N:fonts/adobe-sourcecodepro-fonts . Can you install it and see if that changes anything? I upgraded myself and the issue is not fixed with the latest adobe-sourcecodepro-fonts package. I noted the following rpm output when upgrading: ( 774/2430) Installing: texlive-sourcecodepro-fonts-2017.125.2.6svn40597-33.2.noarch ...............................................................................................................................................................................................[done] Additional rpm output: Couldn't determine full name for SourceCodePro-Black.pfb Couldn't determine weight for SourceCodePro-Black.pfb Couldn't determine full name for SourceCodePro-BlackIt.pfb Couldn't determine weight for SourceCodePro-BlackIt.pfb Couldn't determine full name for SourceCodePro-Bold.pfb Couldn't determine weight for SourceCodePro-Bold.pfb Couldn't determine full name for SourceCodePro-BoldIt.pfb Couldn't determine weight for SourceCodePro-BoldIt.pfb Couldn't determine full name for SourceCodePro-ExtraLight.pfb Couldn't determine weight for SourceCodePro-ExtraLight.pfb Couldn't determine full name for SourceCodePro-ExtraLightIt.pfb Couldn't determine weight for SourceCodePro-ExtraLightIt.pfb Couldn't determine full name for SourceCodePro-It.pfb Couldn't determine weight for SourceCodePro-It.pfb Couldn't determine full name for SourceCodePro-Light.pfb Couldn't determine weight for SourceCodePro-Light.pfb Couldn't determine full name for SourceCodePro-LightIt.pfb Couldn't determine weight for SourceCodePro-LightIt.pfb Couldn't determine full name for SourceCodePro-Medium.pfb Couldn't determine weight for SourceCodePro-Medium.pfb Couldn't determine full name for SourceCodePro-MediumIt.pfb Couldn't determine weight for SourceCodePro-MediumIt.pfb Couldn't determine full name for SourceCodePro-Regular.pfb Couldn't determine weight for SourceCodePro-Regular.pfb Couldn't determine full name for SourceCodePro-Semibold.pfb Couldn't determine weight for SourceCodePro-Semibold.pfb Couldn't determine full name for SourceCodePro-SemiboldIt.pfb Couldn't determine weight for SourceCodePro-SemiboldIt.pfb That may provide a hint (In reply to Robert Munteanu from comment #7) > I upgraded myself and the issue is not fixed with the latest > adobe-sourcecodepro-fonts package. > Then the question rises: What happens if you're switching to the SourceCodePro-Light font ... Beside this it could also a problem with mkfontscale(1) as the messages are from mkfontscale (In reply to Dr. Werner Fink from comment #8) > (In reply to Robert Munteanu from comment #7) > > I upgraded myself and the issue is not fixed with the latest > > adobe-sourcecodepro-fonts package. > > > > Then the question rises: What happens if you're switching to the > > SourceCodePro-Light > > font ... > > Beside this it could also a problem with mkfontscale(1) as the messages are > from mkfontscale With PREFER_MONO_FAMILIES="Source Code Pro Light" in /etc/sysconfig/fonts-config the font switches to the light variant in gnome-terminal. Firefox still uses the bold variant. $ fc-match -v monospace | grep otf file: "/usr/share/fonts/truetype/SourceCodePro-Light.otf"(w) BTW, as a workaround I am using: <?xml version='1.0'?> <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> <fontconfig> <selectfont> <rejectfont> <glob>/usr/share/fonts/texlive-sourcecodepro/*</glob> </rejectfont> </selectfont> </fontconfig> in ~/.config/fontconfig/fonts.conf, running sudo /usr/sbin/fonts-config after each change. The package texlive-sourcecodepro-fonts does have both the otf and pfb variant of the Source Code Pro font family ... but indeed the pfb files seem to miss some macros like Weight and FullName. Not sure if I'm allowed to modify those pfb files. Could be done with t1ascii+t1binary and some script code to add missing definitions. (In reply to Robert Munteanu from comment #9) > > BTW, as a workaround I am using: > > <?xml version='1.0'?> > <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> > <fontconfig> > <selectfont> > <rejectfont> > <glob>/usr/share/fonts/texlive-sourcecodepro/*</glob> > </rejectfont> > </selectfont> > </fontconfig> > > in ~/.config/fontconfig/fonts.conf, running sudo /usr/sbin/fonts-config > after each change. The file /etc/fonts/conf.avail/58-texlive-sourcecodepro.conf should do the same by using the commands cd /etc/fonts/conf.d ln -sf ../conf.avail/58-texlive-sourcecodepro.conf . (In reply to Dr. Werner Fink from comment #11) > (In reply to Robert Munteanu from comment #9) > > > > > BTW, as a workaround I am using: > > > > <?xml version='1.0'?> > > <!DOCTYPE fontconfig SYSTEM 'fonts.dtd'> > > <fontconfig> > > <selectfont> > > <rejectfont> > > <glob>/usr/share/fonts/texlive-sourcecodepro/*</glob> > > </rejectfont> > > </selectfont> > > </fontconfig> > > > > in ~/.config/fontconfig/fonts.conf, running sudo /usr/sbin/fonts-config > > after each change. > > > The file /etc/fonts/conf.avail/58-texlive-sourcecodepro.conf should do the > same > by using the commands > > cd /etc/fonts/conf.d > ln -sf ../conf.avail/58-texlive-sourcecodepro.conf . Good to know, thanks! This is an autogenerated message for OBS integration: This bug (1046104) was mentioned in https://build.opensuse.org/request/show/506500 Factory / texlive-specs-v Just wanted to express my appreciation for the super quick fix. I hit the issue today, checked this bug, installed texlive-sourcecodepro-fonts-2017.130.2.6svn40597-125.4.noarch.rpm from Publishing:TeXLive and it was fixed. Awesome! (In reply to Atri Bhattacharya from comment #14) > Just wanted to express my appreciation for the super quick fix. I hit the > issue today, checked this bug, installed > texlive-sourcecodepro-fonts-2017.130.2.6svn40597-125.4.noarch.rpm > from Publishing:TeXLive and it was fixed. Awesome! Thanks for spotting as well as for reporting success! The update made it well into Tumbleweed and fixed the problem for me. Thanks to everybody involved! What a great turnaround time. This is an autogenerated message for OBS integration: This bug (1046104) was mentioned in https://build.opensuse.org/request/show/509708 Factory / texlive-specs-a https://build.opensuse.org/request/show/509709 Factory / texlive-specs-b https://build.opensuse.org/request/show/509710 Factory / texlive-specs-c https://build.opensuse.org/request/show/509711 Factory / texlive-specs-d https://build.opensuse.org/request/show/509712 Factory / texlive-specs-e https://build.opensuse.org/request/show/509713 Factory / texlive-specs-f https://build.opensuse.org/request/show/509714 Factory / texlive-specs-g https://build.opensuse.org/request/show/509715 Factory / texlive-specs-h https://build.opensuse.org/request/show/509716 Factory / texlive-specs-i https://build.opensuse.org/request/show/509717 Factory / texlive-specs-j https://build.opensuse.org/request/show/509718 Factory / texlive-specs-k https://build.opensuse.org/request/show/509719 Factory / texlive-specs-l https://build.opensuse.org/request/show/509720 Factory / texlive-specs-m https://build.opensuse.org/request/show/509721 Factory / texlive-specs-n https://build.opensuse.org/request/show/509722 Factory / texlive-specs-o https://build.opensuse.org/request/show/509723 Factory / texlive-specs-p https://build.opensuse.org/request/show/509724 Factory / texlive-specs-q https://build.opensuse.org/request/show/509725 Factory / texlive-specs-r https://build.opensuse.org/request/show/509726 Factory / texlive-specs-s https://build.opensuse.org/request/show/509727 Factory / texlive-specs-t https://build.opensuse.org/request/show/509728 Factory / texlive-specs-u https://build.opensuse.org/request/show/509731 Factory / texlive-specs-w https://build.opensuse.org/request/show/509732 Factory / texlive-specs-x https://build.opensuse.org/request/show/509733 Factory / texlive-specs-y https://build.opensuse.org/request/show/509734 Factory / texlive-specs-z This is an autogenerated message for OBS integration: This bug (1046104) was mentioned in https://build.opensuse.org/request/show/869791 Factory / texlive-specs-v This is an autogenerated message for OBS integration: This bug (1046104) was mentioned in https://build.opensuse.org/request/show/877957 Factory / texlive-specs-n |