[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] Rendering text using winfnt

From: Werner LEMBERG
Subject: Re: [ft] Rendering text using winfnt
Date: Mon, 08 May 2017 08:56:34 +0200 (CEST)

Hello Ammar!

> Now, i want to test some windows font for that i installed one
> window font
> (  The
> problem is that fontconfig doesnt support windows font so, fc-list
> doesnt show this font even located at proper directories, so is
> there a way i can render text using this font through my
> application?

This I can't answer, but...

> or any other demo program of FreeType?  I heared about ftview but i
> am not sure what actually it is

...ftview can certainly display winfnt files.  This demo program is a
simple graphical front-end to the FreeType library.

> and how can i use that for rendering styled text with different
> fonts on screen?

You can study the source code of ftview and the other demo programs.
Note that winfnt stuff isn't handled specially; FreeType can
automatically recognize this font format.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]