~ubuntu-branches/ubuntu/wily/qtbase-opensource-src/wily

« back to all changes in this revision

Viewing changes to src/3rdparty/freetype/docs/PROBLEMS

  • Committer: Package Import Robot
  • Author(s): Timo Jyrinki
  • Date: 2013-02-05 12:46:17 UTC
  • Revision ID: package-import@ubuntu.com-20130205124617-c8jouts182j002fx
Tags: upstream-5.0.1+dfsg
ImportĀ upstreamĀ versionĀ 5.0.1+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
This  file describes various  problems that  have been  encountered in
 
2
compiling,  installing  and   running  FreeType  2.   Suggestions  for
 
3
additions or other improvements to this file are welcome.
 
4
 
 
5
----------------------------------------------------------------------
 
6
 
 
7
Running Problems
 
8
================
 
9
 
 
10
 
 
11
* Some Type 1, Multiple Masters, and CID-keyed PostScript fonts aren't
 
12
  handled correctly.
 
13
 
 
14
-----
 
15
 
 
16
Of course,  there might be  bugs in FreeType,  but some fonts based on
 
17
the  PostScript  format can't  behandled indeed.  The  reason  is that
 
18
FreeType  doesn't contain a full  PostScript  interpreter  but applies
 
19
pattern matching instead.  In case a font doesn't follow the  standard
 
20
structure of the given font format, FreeType fails.  A typical example
 
21
is Adobe's `Optima'  font family which  contains extra code  to switch
 
22
between low and high resolution versions of the glyphs.
 
23
 
 
24
It might be  possible to patch  FreeType in  some situations,  though.
 
25
Please report failing fonts so that we investigate the problem and set
 
26
up a list of such problematic fonts.
 
27
 
 
28
----------------------------------------------------------------------
 
29
 
 
30
 
 
31
Compilation Problems
 
32
====================
 
33
 
 
34
 
 
35
* I get an `internal compilation error' (ICE) while compiling FreeType
 
36
  2.2.1 with Intel C++.
 
37
 
 
38
  This has been reported for the following compiler version:
 
39
 
 
40
    Intel(R) C++ Compiler for 32-bit applications,
 
41
      Version 9.0 Build 20050430Z Package ID: W_CC_P_9.0.019
 
42
 
 
43
-----
 
44
 
 
45
The best solution is to update the compiler to version
 
46
 
 
47
  Intel(R) C++ Compiler for 32-bit applications,
 
48
    Version 9.1 Build 20060323Z Package ID: W_CC_P_9.1.022
 
49
 
 
50
or newer.  If this isn't feasible, apply the following patch.
 
51
 
 
52
 
 
53
--- src/cache/ftcbasic.c 20 Mar 2006 12:10:24 -0000 1.20
 
54
+++ src/cache/ftcbasic.c.patched 15 May 2006 02:51:02 -0000
 
55
@@ -252,7 +252,7 @@
 
56
   */
 
57
 
 
58
   FT_CALLBACK_TABLE_DEF
 
59
-  const FTC_IFamilyClassRec  ftc_basic_image_family_class =
 
60
+  FTC_IFamilyClassRec  ftc_basic_image_family_class =
 
61
   {
 
62
     {
 
63
       sizeof ( FTC_BasicFamilyRec ),
 
64
@@ -266,7 +266,7 @@
 
65
 
 
66
 
 
67
   FT_CALLBACK_TABLE_DEF
 
68
-  const FTC_GCacheClassRec  ftc_basic_image_cache_class =
 
69
+  FTC_GCacheClassRec  ftc_basic_image_cache_class =
 
70
   {
 
71
     {
 
72
       ftc_inode_new,
 
73
 
 
74
 
 
75
----------------------------------------------------------------------
 
76
 
 
77
--- end of PROBLEMS ---