[Bug 517789] Droid Sans overrides default Japanese desktop font

bugzilla at redhat.com bugzilla at redhat.com
Thu Sep 10 18:42:41 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





--- Comment #23 from Nicolas Mailhot <nicolas.mailhot at laposte.net>  2009-09-10 14:42:40 EDT ---
(In reply to comment #22)
> (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 

> This is a good idea, yes.

Thank you for the opinion!

> 
> >   <!-- 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.  

Well I certainly need to specify the style of the font to be remapped (since
there are other "Letters Laughing" weird styles that need to be mapped at
different font families). In that particular case, since "Letters Laughing at
their Execution" will have a single style, I guess I could pass on the target
style. But what about when you try to remap fonts from the "4 styles" area
which have been needlessly split into separate families ? Say, you have an A.
font set with R,B,I,BI and an A. Narrow font set also with R,B,I,BI If you
write

 <alias>
   <family>A. Narrow</family>
   <style>Bold</family>
   <default>
     <family>A.</family>
   </default>
 </alias>  

won't that clobber A. Bold? Surely you do need to specify the target style in
that case

 <alias>
   <family>A. Narrow</family>
   <style>Bold</family>
   <default>
     <family>A.</family>
     <style>Narrow Bold</family>
   </default>
 </alias>

(too lazy to check how the WWS spec says the "Narrow" qualifier should be
written nowadays)

Actually what I was not sure about is that

   <default>
     <family>A.</family>
     <style>Narrow Bold</family>
   </default>

will be treated as a single font, not a list but I suppose a list in this
context would be stupid, so surely fontconfig will treat it as a single-font
pattern, right?

-- 
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 fonts-bugs mailing list