[Fedora-i18n-bugs] [Bug 517789] Droid Sans overrides default Japanese desktop font

bugzilla at redhat.com bugzilla at redhat.com
Tue Sep 8 18:54:17 UTC 2009


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=517789


Nicolas Mailhot <nicolas.mailhot at laposte.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
               Flag|                            |needinfo?(besfahbo at redhat.c
                   |                            |om)




--- Comment #19 from Nicolas Mailhot <nicolas.mailhot at laposte.net>  2009-09-08 14:54:16 EDT ---
(In reply to comment #13)
> (In reply to comment #11)

> > 3. You should also alias back "Droid Sans Japanese" and "Droid Sans Fallback"
> > to "Droid Sans" now that we are renaming those.
> 
> That's a really good idea, I don't know why I didn't before, I probably was
> just afraid of the whole thing

BTW we use two different patterns for aliasing right now:

1. "use font Y to complete font X" (for a font which is installed bug with
limited coverage):

  <alias>
    <family>X</family>
    <default>
      <family>Y</family>
    </default>
  </alias>

2. "use font Y when asked for font X" (for fonts that may not be installed)

  <alias binding="same">
    <family>X</family>
    <accept>
      <family>Y</family>
    </accept>
  </alias>

Which pattern is more appropriate for this case?

Also, can we use the same logic to fixup at fontconfig level fonts with bad
naming metadata (all the stuff that fails WWS and takes ages to be fixed in the
font files upstream)? For example would the following pattern be something that
could be generalised? Or do you have objections/better ideas?

  <match target="scan">
    <test name="family">
      <string>Letters Laughing</string>
    </test>
    <test name="style">
      <string>at their Execution</string>
    </test>
    <edit name="family">
      <string>Letters Laughing at their Execution</string>
    </edit>
    <edit name="style">
      <string>Regular</string>
    </edit>
  </match>

  <alias>
    <family>Letters Laughing at their Execution</family>
    <default>
      <family>Fantasy</family>
    </default>
  </alias>

  <!-- Not sure at all about this but something is needed for backwards compat
-->
  <alias>
    <family>Letters Laughing</family>
    <style>at their Execution</family>
    <default>
      <family>Letters Laughing at their Execution</family>
      <style>Regular<style>
    </default>
  </alias>

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.




More information about the Fedora-i18n-bugs mailing list