Re: Fwd: Re: [ft-devel] New Microsoft size-specific design selection mechanism

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13-11-14 12:53 AM, Akira TAGOH wrote:
> The initial code is available at
> http://cgit.freedesktop.org/~tagoh/fontconfig/commit/?h=new-size-selection-mechanism
> 
> if anyone who are interested in it wants to try.

My main feedback is that I prefer not adding a new element but reusing a new
value type for the existing size attribute.  Ie. the fonts with this new info
will have their size attribute reflect a range.  Then define the compare
function for a double and a range to the minimum distance from the double to a
member of the range (and define the distance between two ranges similarly).  I
would also keep the Double out of the name.  Just use Range.

HTH, and thanks for the work,
behdad

> On Mon, Oct 28, 2013 at 11:33 AM, Akira TAGOH <akira@xxxxxxxxx> wrote:
>> I do. let me try.
>>
>> On Mon, Oct 28, 2013 at 4:52 AM, Behdad Esfahbod <behdad@xxxxxxxxxx> wrote:
>>> I think what we want is to add FcTypeRange as a pair of doubles, and for fonts
>>> that have a size range, use that type for FC_SIZE in the queried pattern.
>>> Then adjust matching to return meaningful score when comparing a double and a
>>> range...
>>>
>>> Akira, do you think you would have time to implement this?
>>>
>>> behdad
>>>
>>> -------- Original Message --------
>>> Subject: Re: [ft-devel] New Microsoft size-specific design selection mechanism
>>> Date: Sun, 27 Oct 2013 07:26:34 +0100 (CET)
>>> From: Werner LEMBERG <wl@xxxxxxx>
>>> To: behdad@xxxxxxxxxx
>>> CC: freetype-devel@xxxxxxxxxx
>>>
>>>>> What do you recommend?
>>>>
>>>> Just add.
>>>
>>> OK.  The stuff is now in the git repository.  Please test.
>>>
>>>
>>>     Werner
>>>
>>>
>>>
>>> _______________________________________________
>>> Fontconfig mailing list
>>> Fontconfig@xxxxxxxxxxxxxxxxxxxxx
>>> http://lists.freedesktop.org/mailman/listinfo/fontconfig
>>
>>
>>
>> --
>> Akira TAGOH
> 
> 
> 

-- 
behdad
http://behdad.org/
_______________________________________________
Fontconfig mailing list
Fontconfig@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/fontconfig




[Index of Archives]     [Fedora Fonts]     [Fedora Users]     [Fedora Cloud]     [Kernel]     [Fedora Packaging]     [Fedora Desktop]     [PAM]     [Gimp Graphics Editor]     [Yosemite News]

  Powered by Linux