~ubuntu-branches/ubuntu/lucid/xpdf/lucid-updates

« back to all changes in this revision

Viewing changes to splash/SplashFontEngine.h

  • Committer: Bazaar Package Importer
  • Author(s): Andy Price
  • Date: 2007-05-17 22:04:33 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20070517220433-gzcx2lrvllkbl7mr
Tags: 3.02-1ubuntu1
* Merge from Debian unstable (LP: #113365), remaining changes:
  - Added back 09_xpdfrc_manpage.dpatch (LP #71753)
  - Set Ubuntu maintainer

Show diffs side-by-side

added added

removed removed

Lines of Context:
55
55
                                GBool deleteFile, char **enc);
56
56
  SplashFontFile *loadType1CFont(SplashFontFileID *idA, char *fileName,
57
57
                                 GBool deleteFile, char **enc);
 
58
  SplashFontFile *loadOpenTypeT1CFont(SplashFontFileID *idA, char *fileName,
 
59
                                      GBool deleteFile, char **enc);
58
60
  SplashFontFile *loadCIDFont(SplashFontFileID *idA, char *fileName,
59
61
                              GBool deleteFile);
 
62
  SplashFontFile *loadOpenTypeCFFFont(SplashFontFileID *idA, char *fileName,
 
63
                                      GBool deleteFile);
60
64
  SplashFontFile *loadTrueTypeFont(SplashFontFileID *idA, char *fileName,
61
65
                                   GBool deleteFile,
62
66
                                   Gushort *codeToGID, int codeToGIDLen);
63
67
 
64
68
  // Get a font - this does a cache lookup first, and if not found,
65
69
  // creates a new SplashFont object and adds it to the cache.  The
66
 
  // matrix:
 
70
  // matrix, mat = textMat * ctm:
67
71
  //    [ mat[0] mat[1] ]
68
72
  //    [ mat[2] mat[3] ]
69
73
  // specifies the font transform in PostScript style:
70
74
  //    [x' y'] = [x y] * mat
71
75
  // Note that the Splash y axis points downward.
72
 
  SplashFont *getFont(SplashFontFile *fontFile, SplashCoord *mat);
 
76
  SplashFont *getFont(SplashFontFile *fontFile,
 
77
                      SplashCoord *textMat, SplashCoord *ctm);
73
78
 
74
79
private:
75
80