[Top][All Lists]

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

[ft] Rendering text using winfnt

From: Ammar ul hassan
Subject: [ft] Rendering text using winfnt
Date: Mon, 8 May 2017 15:39:23 +0900


I created a sample application that uses Xft for rendering styled text on
screen. I can input the font name and size etc for different outputs. It
works perfectly fine for Truetype and Type1 fonts. I used font config for
locating the fonts and FreeType for rasterizing them and linking it with
Xft to render on screen. This test shows that FreeType Type1 and TrueType
driver modules are working just fine.

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? or any other demo program of
FreeType? I heared about ftview but i am not sure what actually it is and
how can i use that for rendering styled text with different fonts on screen?

reply via email to

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