[cairo] Cairo + FreeType Binaries for WIndows?
domlachowicz at gmail.com
Wed Apr 9 13:04:23 PDT 2008
Since you're on Windows, you can do an EnumFontFamilies(), which is
the native equivalent of fc-list. You can use that info to create
HFONTs or LOGFONTs that cairo can use directly . In that case,
there's no need for FreeType or FontConfig to get involved.
On Wed, Apr 9, 2008 at 3:57 PM, <robertk54 at aol.com> wrote:
> >The only reason you need Freetype is if you want to use a font that is NOT
> installed. eg. working directly with a font file using >the freetype API. If
> you just want to use pango+cairo to render text using any installed font and
> language, the binaries from >GTK will be enough.
> This is certainly great news. In my latest code I added FontConfig /
> FreeType directly. Using the equivalent to 'fc-list' I found over 180
> fonts. The Cairo I am using (no FreeType support) only seems to be able to
> render a few of these (Times stands out). Most fonts render the same. Does
> this mean that the installed fonts are just a few of the ones found by
> FontConfig? Obviously I could be doing something wrong.
> >Instruction for building cairo under msys/mingw are exactly the same as
> building under linux and can be found in the INSTALL >file of a cairo
> Ok, I will have to take a closer look if the above does not pan out.
> Get the MapQuest Toolbar, Maps, Traffic, Directions & More!
> cairo mailing list
> cairo at cairographics.org
More information about the cairo