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
Behdad Esfahbod <besfahbo(a)redhat.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flag|needinfo?(besfahbo(a)redhat.c |
|om) |
--- Comment #22 from Behdad Esfahbod <besfahbo(a)redhat.com> 2009-09-10 11:31:37 EDT
---
(In reply to comment #19)
(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?
The latter.
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>
This is a good idea, yes.
<!-- 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>
I wouldn't bother about the style part here.
--
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.