Bug 68340

Summary: More metric compat fonts
Product: fontconfig Reporter: Behdad Esfahbod <freedesktop>
Component: confAssignee: Akira TAGOH <akira>
Status: RESOLVED FIXED QA Contact: Behdad Esfahbod <freedesktop>
Severity: normal    
Priority: medium CC: akira, fontconfig-bugs, freedesktop
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Further changes to 30-metric-aliases.conf
Further changes to 30-metric-aliases.conf

Description Behdad Esfahbod 2013-08-20 14:55:18 UTC
From a bug someone filed somewhere else I see these:

@ -230,6 +221,7 @@
        <alias binding="same">
          <family>Helvetica</family>
          <accept>
+         <family>TeX Gyre Heros</family>
          <family>Nimbus Sans L</family>
          </accept>
        </alias>
@@ -237,6 +229,7 @@
        <alias binding="same">
          <family>Times</family>
          <accept>
+         <family>TeX Gyre Termes</family>
          <family>Nimbus Roman No9 L</family>
          </accept>
        </alias>
@@ -253,6 +246,7 @@
        <alias binding="same">
          <family>Arial</family>
          <accept>
+           <family>TeX Gyre Heros</family>
            <family>Arimo</family>
            <family>Liberation Sans</family>
            <family>Albany</family>
@@ -261,15 +255,9 @@
        </alias>
 
        <alias binding="same">
-         <family>Arial Narrow</family>
-         <accept>
-           <family>Liberation Sans Narrow</family>
-         </accept>
-       </alias>
-
-       <alias binding="same">
          <family>Times New Roman</family>
          <accept>
+           <family>TeX Gyre Termes</family>
            <family>Tinos</family>
            <family>Liberation Serif</family>
            <family>Thorndale</family>
@@ -277,6 +265,13 @@
          </accept>
        </alias>
 
+       <alias binding="same">
+         <family>Georgia</family>
+         <accept>
+           <family>Gelasio</family>
+         </accept>
+       </alias>
+
        <alias binding="same">
          <family>Courier New</family>
          <accept>
Comment 1 Akira TAGOH 2013-08-20 16:00:07 UTC
Where is it from?

and why do they wannt to remove an alias for Arial Narrow?
Comment 2 Behdad Esfahbod 2013-08-20 16:02:33 UTC
From a bug on Chrome's font selection.  That bug is irrelevant.

Oh, the Arial Narrow my bad, I should have cut that part out.  I just diff'ed it with our latest file.

https://code.google.com/p/chromium/issues/detail?id=242046
Comment 3 Akira TAGOH 2013-08-21 04:16:18 UTC
Aha. interesting for binding stuff. though it's a known RFE as Bug#19375.

Anyway, the change without Arial Narrow one committed into git.
Comment 4 Jan Alexander Steffens (heftig) 2013-09-14 00:51:37 UTC
Created attachment 85795 [details] [review]
Further changes to 30-metric-aliases.conf

I'm not happy with the current 30-metric-fonts.conf. This patch makes some changes:

Big changes:
- Handle more PostScript fonts (further reduce 30-urw-aliases.conf)
- Update the big comment

Specific->Generic:
- Add missing maps, for symmetry

Generic<->Generic:
- Add "Helvetica Condensed" <-> "Arial Narrow" map

Generic->Specific:
- Add missing Courier -> Cursor alias
- Add "Helvetica Condensed" -> "Heros Cn" alias
- Remove Arial -> Heros and "Times New Roman" -> Termes maps
Comment 5 Jan Alexander Steffens (heftig) 2013-09-14 00:52:11 UTC
Reopening, please look at the posted patch.
Comment 6 Behdad Esfahbod 2013-09-14 00:53:23 UTC
Thanks.  Normally it's preferable to open new bugs, but this one should be fine.
Comment 7 Jan Alexander Steffens (heftig) 2013-09-14 00:53:56 UTC
Created attachment 85796 [details] [review]
Further changes to 30-metric-aliases.conf

Just noticed I accidentally posted an old version. Whoops.
Comment 8 Akira TAGOH 2013-09-20 03:55:28 UTC
Thanks. merged into git.

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.