Summary: | Make fc-query warn about non-WWS compliant fonts | ||
---|---|---|---|
Product: | fontconfig | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
Component: | library | Assignee: | fontconfig-bugs |
Status: | RESOLVED MOVED | QA Contact: | Keith Packard <keithp> |
Severity: | normal | ||
Priority: | medium | CC: | akira, fonts-bugs, freedesktop |
Version: | 2.6 | ||
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Nicolas Mailhot
2009-06-17 15:04:59 UTC
I can write a very small pango tool to do that, would it be helpful? The thing is, fontconfig doesn't really know about WWS, whereas pango's entire font model is based on it. That's why pango has problem using fonts with arbitrary style names while fontconfig has no problem reporting them. I don't think anyone would mind if it's pango-level. The basic need is just a font linting tool that anyone can run over a ttf/otf (and probably pcf/type1) font to check what needs to be fixed to make apps happy. Right now WWS seems the lowest-hanging fruit to fix, and easiest to sell to font authors (because of Microsoft and Adobe stance on WWS). > I can write a very small pango tool to do that, would it be helpful?
It would be most useful if that tool is designed to work on a given list
of font files. (Checking all of the fonts of which fontconfig is aware
is then reduced to:
fc-list -f '%{file}\n' | tr \\n \\0 | xargs -0 $LINT
where $LINT is the name of the new tool.)
Is there anything we can do in fontconfig then? it sounds like NOTOURBUG to me. -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/fontconfig/fontconfig/issues/36. |
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.