Summary: | CONFIGURATION: Enhance Font Substitution Table | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | João Paulo <joaopauloag-freedesktop> |
Component: | Installation | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | QA Contact: | |
Severity: | major | ||
Priority: | medium | CC: | caolanm, serval2412 |
Version: | 4.0.3.3 release | ||
Hardware: | x86 (IA32) | ||
OS: | All | ||
See Also: | https://bugs.freedesktop.org/show_bug.cgi?id=61134 | ||
Whiteboard: | BSA | ||
i915 platform: | i915 features: |
Description
João Paulo
2013-05-12 21:10:37 UTC
What's your LO version? on which env are you? (In reply to comment #1) > What's your LO version? on which env are you? I am running LibreOffice 4.0.3.3 on Windows XP and Vista, but I found this behavior on every LO release since the fork from OpenOffice.org, and also on every OOo release I used then. Maybe I should create another bug for the lack of warning when the font isn't installed on the user's system? Because I realized I reported two bugs: - the lack of a prepopulated font substitution table (installation issue); - the lack of a warning the font isn't installed nor substituted (UI issue). I created a small table for well known fonts (and the Lobster font): Lobster Lobster Two Bitstream Vera Sans DejaVu Sans Bitstream Vera Sans Mono DejaVu Sans Mono Bitstream Vera Serif DejaVu Serif CenturySchL TeXGyreSchola NimbusMonL TeXGyreCursor NimbusMono TeXGyreCursor NimbusRomanNo9 TeXGyreTermes NimbusRomNo9L TeXGyreTermes NimbusSanL TeXGyreHeros NimbusSanLCon TeXGyreHerosCn URWBookmanL TeX Gyre Bonum URWChanceryLMed TeXGyreChorus URWGothicL TeXGyreAdventor URWGothicLDem TeXGyreAdventor URWPalladioL TeXGyrePagella And a small table for fonts that always should be substituted, regardless of having the font on the system (the "G" versions have Graphite enabled, so its rendering is better): Linux Biolinum Linux Biolinum G Linux Libertine Linux Libertine G On pc Debian x86-64 with master sources updated today, I reproduced the problem. Caolán: one for you? re "not reporting the font is not installed and is being substituted" in 4.1 the font name is italicized in the font selectors if it's not installed, so that's fixed now. re "having a substitution table", so... for most Unix platforms e.g Linux we run the font through fontconfig which has a pile of rules and tables to give the best replacement font. So on those platforms this is "taken care of", and on MacOSX there's a similar built-in MacOSX thing I believe. The remaining issue is Windows, there we use our built-in tables in registry/data/org/openoffice/VCL.xcu (http://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/openoffice/VCL.xcu) see near the end, the section starting with <node oor:name="FontSubstitutions"> so we should already have the bitstreamverasans replacements for example. It shouldn't be too hard to add to add extra entries or improve the existing ones. Not something for me though, seeing as it doesn't affect the platform I develop on. I suggest you have a go at adding what entries are missing there from your own list and submit the result to us. See https://wiki.documentfoundation.org/Development/Patch_Handling_Guidelines for some help. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.