Summary: | override font to use in pdf documents | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Ludo <ludootje> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | CONFIRMED --- | ||
Severity: | wishlist | CC: | aacid, kde-2011.08, maarizwan |
Priority: | NOR | ||
Version First Reported In: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Ludo
2007-01-03 16:23:10 UTC
Reassigning to the mailing list I'd like to second this. A couple of my lecturers in the past have had a habit of using Comic Sans MS (I kid you not) in their PDF slides. Being able to replace this with a sane Sans Serif font would have been much appreciated. It appears that the Windows version of Adobe Reader has a font replacement option, called 'local fonts'. So there is precedent for this feature. Furthermore, on Bug 137062 a workaround was proposed: """ It's right that one can 'ADD' font substitution in .fonts.conf. Here's the example which i added to Change the non-existing Baskerville font to "Times New Roman" which looks a lot better in KPDF. ... (after </match>) in ~/.fonts.conf <alias> <family>Baskerville</family> <accept><family>Times New Roman</family></accept> </alias> </fontconfig> """ To support this in a feature we need poppler to support it, please go to http://bugs.freedesktop.org/ and report a feature request on it *** Bug 137062 has been marked as a duplicate of this bug. *** > To support this in a feature we need poppler > to support it Thanks, Albert, the bug is filed here: https://bugs.freedesktop.org/show_bug.cgi?id=23546 Please comment and vote on that bug. Moving to new, "needsinfo" is not a good state for this bug, it might be "Resolved" "Later" but i don't like the "resolved" part, so we'll just store it on new Overriding the font would also be useful for .epub. I have an .epub here which sets the font to serif in every <p> in it’s internal .html files. The .epub uses only this one font, so a global override would be appropiate. In the epub backend config dialog, only the default font is available. This can change the font size, as it is not set by the .epub. (In general, I think that an .epub shouldn’t set the font.) |