2014-07-01 3:16 GMT+02:00 Igor Stasenko <siguc...@gmail.com>: > > > > On 30 June 2014 21:36, Nicolai Hess <nicolaih...@web.de> 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 <hilaire.fernan...@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 >>> >>> >>> >> > > > -- > Best regards, > Igor Stasenko. >