🛠️🐜 Antkeeper superbuild with dependencies included https://antkeeper.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

90 lines
2.7 KiB

  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. Running Problems
  6. ================
  7. * Some Type 1, Multiple Masters, and CID-keyed PostScript fonts aren't
  8. handled correctly.
  9. -----
  10. Of course, there might be bugs in FreeType, but some fonts based on
  11. the PostScript format can't be handled indeed. The reason is that
  12. FreeType doesn't contain a full PostScript interpreter but applies
  13. pattern matching instead. In case a font doesn't follow the standard
  14. structure of the given font format, FreeType fails. A typical example
  15. is Adobe's `Optima' font family which contains extra code to switch
  16. between low and high resolution versions of the glyphs.
  17. It might be possible to patch FreeType in some situations, though.
  18. Please report failing fonts so that we investigate the problem and set
  19. up a list of such problematic fonts.
  20. * Why do identical FreeType versions render differently on different
  21. platforms?
  22. -----
  23. Different distributions compile FreeType with different options. The
  24. developer version of a distribution's FreeType package, which is
  25. needed to compile your program against FreeType, includes the file
  26. ftoption.h. Compare each platform's copy of ftoption.h to find the
  27. differences.
  28. ----------------------------------------------------------------------
  29. Compilation Problems
  30. ====================
  31. * I get an `internal compilation error' (ICE) while compiling FreeType
  32. 2.2.1 with Intel C++.
  33. This has been reported for the following compiler version:
  34. Intel(R) C++ Compiler for 32-bit applications,
  35. Version 9.0 Build 20050430Z Package ID: W_CC_P_9.0.019
  36. -----
  37. The best solution is to update the compiler to version
  38. Intel(R) C++ Compiler for 32-bit applications,
  39. Version 9.1 Build 20060323Z Package ID: W_CC_P_9.1.022
  40. or newer. If this isn't feasible, apply the following patch.
  41. --- src/cache/ftcbasic.c 20 Mar 2006 12:10:24 -0000 1.20
  42. +++ src/cache/ftcbasic.c.patched 15 May 2006 02:51:02 -0000
  43. @@ -252,7 +252,7 @@
  44. */
  45. FT_CALLBACK_TABLE_DEF
  46. - const FTC_IFamilyClassRec ftc_basic_image_family_class =
  47. + FTC_IFamilyClassRec ftc_basic_image_family_class =
  48. {
  49. {
  50. sizeof ( FTC_BasicFamilyRec ),
  51. @@ -266,7 +266,7 @@
  52. FT_CALLBACK_TABLE_DEF
  53. - const FTC_GCacheClassRec ftc_basic_image_cache_class =
  54. + FTC_GCacheClassRec ftc_basic_image_cache_class =
  55. {
  56. {
  57. ftc_inode_new,
  58. ----------------------------------------------------------------------
  59. --- end of PROBLEMS ---