Thanks.. I will do it by overriding font logic of PangoFT2Fontmap.

  I have another requirement. I want to synthesize bold characters using
pango.
  Using AttrList i am unable to get the bold characters.
  How can I do the bold characters rendering

~Pradeep

On Fri, Dec 9, 2011 at 1:02 AM, Behdad Esfahbod <[email protected]> wrote:

> An easier alternative would be to subclass the PangoFT2Fontmap and override
> its font loading logic.
>
> On 12/08/2011 01:35 AM, Pradeep Botu wrote:
> >
> >
> >   Thanks for prompt reply. I have done the same thing.
> >   And then i have extracted FcPattern from font file using
> FcFreeTypeQuery.
> >   Using FcPattern i have created FontDescription.
> >
> >   I have another requirement. I need to load a font file from memory.
> >   ie, I need to lkoad font file data from memory I have provided.
> >   Can I extract FcPattern from buffer or do I have any other way.
> >
> > ~Pradeep
> >
> > On Thu, Dec 8, 2011 at 2:23 AM, Behdad Esfahbod <[email protected]
>  > <mailto:[email protected]>> wrote:
> >
> >     On 12/07/2011 09:07 AM, Pradeep Botu wrote:
> >     >
> >     >  I am using Pango with ft2 backend.
> >     >  For my application I have to load the font using font file
> directly.
> >     >  Whether this feature request is still in implementation stage.
> >     >  If there is a way to load font directly from font file please let
> me know
> >
> >     Use FcConfigAppFontAddFile to add your font to the database before
> using
> >     Pango.
> >
> >     behdad
> >
> >     > ~ Pradeep
> >
> >
>
_______________________________________________
gtk-i18n-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Reply via email to