The real question was:Igor, can't we use AthensCairoText (cairo toy text api) for non-truetype fonts?
Why can't we draw a text with StrikeFont and with Athens.
2014-06-21 1:20 GMT+02:00 Hilaire Fernandes <hilaire.fernandes@gmail.com>:
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