[Fontconfig-bugs] [Bug 80873] Improve size unparse?

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 4 14:13:50 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80873

--- Comment #4 from Behdad Esfahbod <freedesktop at behdad.org> ---
(In reply to comment #3)
> I don't like NOT showing something that is set.  Why is it set anyway?
> 
> Given that a missing SIZE will match with score 0, and a SIZE of (0,inf)
> also always match with score 0, I really prefer that we DON'T set size if
> it's not available.
> 
> I did a couple commits to that effect.  Please see:
> 
>   https://github.com/behdad/fontconfig/commits/size-rework
> 
> Needs testing.  On top of this, I want to see us clean up some more:
> 
>   - Remove the bits about range's is_inclusive,
> 
>   - Remove special-cases of ranges with start==end,
> 
>   - Move the part that sets FC_SIZE for bitmap-only fonts close to where
> FC_PIXEL_SIZE is set, or remove it.  I don't think we had that part before
> and you introduced it during adding ranges.

One more:

  - Accept integer for size.  I think in some places we only accept range and
double.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20140704/f92249e1/attachment.html>


More information about the Fontconfig-bugs mailing list