[Top][All Lists]

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

RE: [ft] WG: Character Width Problem

From: Turner, David
Subject: RE: [ft] WG: Character Width Problem
Date: Thu, 6 Oct 2005 13:57:16 +0200

Dear Sir,
in order to be able to answer your question with insightful answers, may I ask you
the following:
- have you enabled the TrueType bytecode interpreter in your build of FreeType ?
- could you provide us with a simple test program that shows the differences between
  FreeType and GDI ?
  it is important to see _your_ code in order to check that you're doing things correctly
  (e.g. setting the character pixel size with the correct DPI resolution), as well as
  quantify precisely the problems you're experimenting.
  ideally, you would provide the smallest possible program that exhibits the problem.
our goal is to match Windows as much as possible when the bytecode interpreter is
turned on, but we don't have free time to perform extensive testing and comparisons,
we only react to queries like yours when they appear.
Hope this helps,
- David Turner
- The FreeType Project  (
-----Message d'origine-----
De : address@hidden [mailto:address@hiddenDe la part de Martin Schöllerl
Envoyé : jeudi 6 octobre 2005 13:13
À : address@hidden
Objet : [ft] WG: Character Width Problem

Dear sirs,


we changed our windows-font-handling to freetype (version 2.1.4) to be platform-independent.


Our product runs on Windows-System as well as on Unix-Derivates.


Our problem is, that the character widths returned by Freetype differs immensely to those delivered by GetCharWidth32. In one of our test – cases every printed line differs from 0.5 to 1 cm. In this case the average character width returned by freetype is smaller than the average from GetCharWidth32.


What are the differences between those two functions? Does freetype use an other algorithm than the GDI-Functions? Can we do anything to get the same widths in both cases?


Best regards,



Martin Schöllerl

Teammanager Software Development




INVARIS Informationssysteme GmbH


A-7000 Eisenstadt


Tel.:  +43 (0)2682/ 64 000-512

Fax:  +43 (0)2682/ 64 000-900

e-mail:    address@hidden




reply via email to

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