Bug 164767
Summary: | Overriding font size with fontconfig rules doesn't work correctly in cairo-based gtk2 | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Luca Barbieri <luca.barbieri> |
Component: | pango | Assignee: | Matthias Clasen <mclasen> |
Status: | CLOSED UPSTREAM | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2005-11-07 13:55:02 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Luca Barbieri
2005-08-01 04:25:16 UTC
Can you be more specific about what you are trying to do? It wouldn't be hard to make pixelsize assignment from fonts.conf work. (size assignment won't work) But if there aren't good use cases, I'm reluctant to support that, since it might restrict what we can do in the future. I was trying to enforce a minimum font size. I personally prefer to set the minimal legible font size for normal text, so that the amount of the text on screen at a given time is maximized. However, some applications request fonts smaller that the GNOME/KDE configured text size: by my choice of default font size, they get fonts that are too small for comfortable reading. To prevent this, I wrote a fonts.conf that would set the preferred size for "Sans" and "Monospace" patterns with size less than the preferred one. I submitted the simplest testcase I could conceive that would fail to work visibly. Also that functionality seemed to work before the Pango transition, but doesn't seem to work correcty now; this fact may be an argument for reinstating support for it. Furthermore, I think that if not reinstated pixelsize overriding should be completely removed: as you can see from "Actual results", while it doesn't work correctly, it also isn't ignored. NOTE: all the preceding text discussed the situtation at the time the bug was reported (gtk2-2.7.4-1); I'm not sure of the exact status of current development version (I may test them if necessary). BTW, it would also be useful to be able to the set the minimum font size for single glyphs or glyph ranges/Unicode blocks since one may for instance want to have a larger minimum size for CJK or other complex glyphs. Tracked upstream in http://bugzilla.gnome.org/show_bug.cgi?id=317121 |