[cairo] Reg. Porting Cairo Font Support over T-Environment
Dan Amelang
daniel.amelang at gmail.com
Wed Nov 28 17:35:34 PST 2007
On Nov 26, 2007 1:46 AM, Mukul Sharma <elitecoder.mukul at gmail.com> wrote:
> Dear members,
>
> I am currently working over porting cairo onto T-Environment and
> facing some difficulties related to font rendering. I have previously
> ported the cairo code onto the T-environment and the drawing of
> figures and shapes is working for me. The only thing left is the font
> rendering.
>
> My approach towards making fonts work has been --- I have compiled
> cairo along with freetype source and fontconfig source as a single
> executable. The executable thus created is working fine but not
> rendering any text onto the final image (I am using the image surface
> backend for rendering). Firstly, I need to ask, whether this approach
> of mine is correct or not.
> And if it is correct, then can anybody tell me, if there should be
> anything that I must take care of, which might cause a possible
> problem.
It's hard to say if your approach is correct. From the few details
that you give, it sounds fine.
> Secondly, I read about the toy font support in cairo. My requirement
> as of now is simply to be able to dump out text onto the screen.
> Therefore, only a single font support will be good enough for me. My
> question is, that is it possible, that I could use the toy font
> support, to render fonts without using fontconfig or freetype.
No. Even the toy API requires some sort of font backend.
Dan
More information about the cairo
mailing list