http://bugs.freedesktop.org/show_bug.cgi?id=22338
Summary: Make fc-query warn about non-WWS compliant fonts Product: fontconfig Version: 2.6 Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: library AssignedTo: freedesktop@behdad.org ReportedBy: nicolas.mailhot@laposte.net QAContact: keithp@keithp.com CC: fedora-fonts-bugs-list@redhat.com
(it would be nice if there was a fc-query component in fontconfig BTW)
Since MS' WWS naming model makes stuff simpler for application authors, and will be required in new window code, it would be mighty nice if fc-query warned in its general report if a font file didn't respect this model.
Respecting the WWS model is declaring fields 21 and 22 or 16 in 17 in ways that respect WWS (only weight, width and slant in sytles)
This way we can point FLOSS authors to fc-query as linting tools and promote font naming our apps can handle easily
http://bugs.freedesktop.org/show_bug.cgi?id=22338
Behdad Esfahbod freedesktop@behdad.org changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |freedesktop@behdad.org
--- Comment #1 from Behdad Esfahbod freedesktop@behdad.org 2009-07-21 12:33:52 PST --- 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.
http://bugs.freedesktop.org/show_bug.cgi?id=22338
--- Comment #2 from Nicolas Mailhot nicolas.mailhot@laposte.net 2009-07-21 12:50:09 PST --- 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).
http://bugs.freedesktop.org/show_bug.cgi?id=22338
--- Comment #3 from James Cloos cloos@jhcloos.com 2009-07-21 14:02:10 PST ---
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.)
https://bugs.freedesktop.org/show_bug.cgi?id=22338
Akira TAGOH akira@tagoh.org changed:
What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|freedesktop@behdad.org |fontconfig-bugs@lists.freed | |esktop.org CC| |akira@tagoh.org
https://bugs.freedesktop.org/show_bug.cgi?id=22338
--- Comment #4 from Akira TAGOH akira@tagoh.org 2012-04-26 01:29:15 PDT --- Is there anything we can do in fontconfig then? it sounds like NOTOURBUG to me.
https://bugs.freedesktop.org/show_bug.cgi?id=22338
GitLab Migration User gitlab-migration@fdo.invalid changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |MOVED
--- Comment #5 from GitLab Migration User gitlab-migration@fdo.invalid --- -- 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.
fonts-bugs@lists.fedoraproject.org