I am not quite convinced we should solve it, actually.

We survived for a long time without TT fonts.
Now that we finally have them, I think we can manage to survive without
Bitmap fonts, too :)

Cheers,
Doru


On Tue, Jul 1, 2014 at 10:05 PM, Nicolai Hess <[email protected]> wrote:

>
> 2014-07-01 3:16 GMT+02:00 Igor Stasenko <[email protected]>:
>
>
>>
>>
>> On 30 June 2014 21:36, Nicolai Hess <[email protected]> wrote:
>>
>>> The real question was:
>>> Why can't we draw a text with StrikeFont and with Athens.
>>>
>>> Igor, can't we use AthensCairoText (cairo toy text api) for non-truetype
>>> fonts?
>>>
>>>
>> Because strike fonts are stored in special format which you cannot render
>> directly by cairo library. Because strike fonts are not scalable. Because
>> it will be horribly slow. Choose one.
>>
>
>
>
> I choose the first one, horrible slow or not scaleable is better than a
> drawing error :)
>
> If someday all rendering is done through Athens, how do we solve this
> problem with the StrikeFont?
>
>
>
>>
>>
>>>
>>>
>>>
>>> 2014-06-21 1:20 GMT+02:00 Hilaire Fernandes <[email protected]
>>> >:
>>>
>>> Gi Igor,
>>>>
>>>> For DrGeo it is not a workable option to have different fonts in Morphic
>>>> widget and Athens canvas (I explained earlier why).
>>>> However I found the scaling trick of draw text to work reasonably well.
>>>> Not full perfect as from time to time I can see some artifact.
>>>>
>>>> Thanks
>>>>
>>>> Hilaire
>>>>
>>>>
>>>>
>>>>
>>>> Le 20/06/2014 15:32, Igor Stasenko a écrit :
>>>> > Sure, you can do: make sure you don't render text with same font in
>>>> > Morphic UI and Athens, so they don't interfere with each other.
>>>> > There's no easy way to get rid of interference, because it would
>>>> require
>>>> > changing Freetype package and its plugin in order to establish a
>>>> single
>>>> > font management point and funnel all requests to freetype library
>>>> > through it.
>>>> >
>>>>
>>>> --
>>>> Dr. Geo http://drgeo.eu
>>>> iStoa - https://launchpad.net/istoa
>>>>
>>>>
>>>>
>>>
>>
>>
>> --
>> Best regards,
>> Igor Stasenko.
>>
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to