[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ft] Rendering text using winfnt
From: |
Ammar ul hassan |
Subject: |
Re: [ft] Rendering text using winfnt |
Date: |
Mon, 8 May 2017 16:05:32 +0900 |
Thank you!
I will get back after working with these demo programs.
On Mon, May 8, 2017 at 3:56 PM, Werner LEMBERG <address@hidden> wrote:
>
> Hello Ammar!
>
>
> > Now, i want to test some windows font for that i installed one
> > window font
> > (http://www.2200freefonts.com/new/911porscha_bitmap0.zip). 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.
>
>
> Werner
>