freetype-devel
[Top][All Lists]
Advanced

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

Re: [ft-devel] Query about freetype


From: Graham Asher
Subject: Re: [ft-devel] Query about freetype
Date: Fri, 17 Oct 2014 15:04:11 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Sai,

you need to cache glyphs in some way; performance is not usually good enough to create glyphs on demand and throw them away. FreeType has a glyph caching system: http://www.freetype.org/freetype2/docs/reference/ft2-cache_subsystem.html.

Best regards,

Graham Asher


On 17/10/2014 09:39, sai prashanthi wrote:
Hello,

I am running freetype on a new Graphics controller. Its quiet
confidential. I am doing a basic text rendering. I am using the
following functions i.e.

Get_Char_Index

Load_Glyph

Get_Glyph

Get_CBox

Render

Draw

All the functions take a few microseconds to get executed except Load
Glyph. It takes a few milli seconds. Is there something that I should
take care of?

Best regards,

Sai Prashanthi Ramu

On Tue, Oct 7, 2014 at 10:30 AM, Werner LEMBERG <address@hidden> wrote:

        
I am trying to port freetype to a graphicas controller (not out in the
market yet). This might seem like a silly question. But I couldn't
find sufficient documentation online. I am using freetype 1.0. I am
allowed to use only this.
Version 1.0 of FreeType?   This has been released in 2000, 14 years
ago!  We no longer support FreeType 1.

When I try TT_Open_Face, i should specify a path to font file.
[...]
Sorry.  Please check the current FreeType version, 2.5.3.  Due to its
modular design you can easily disable all modules you don't need.


    Werner
_______________________________________________
Freetype-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/freetype-devel



--
Graham Asher
founder and CTO
CartoType Ltd
address@hidden
+44 (0) 7718 895191

reply via email to

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