PageRenderTime 43ms CodeModel.GetById 15ms RepoModel.GetById 0ms app.codeStats 0ms

/TeXmacs-1.0.7.11-src/src/Plugins/Pdf/dvipdfmx/tt_post.h

#
C++ Header | 53 lines | 23 code | 9 blank | 21 comment | 0 complexity | afbb19e10f94d3c6cfa37e45a914e160 MD5 | raw file
Possible License(s): GPL-3.0, GPL-2.0, MPL-2.0-no-copyleft-exception
  1. /* $Header: /home/cvsroot/dvipdfmx/src/tt_post.h,v 1.1 2004/09/11 14:50:29 hirata Exp $
  2. This is dvipdfmx, an eXtended version of dvipdfm by Mark A. Wicks.
  3. Copyright (C) 2002 by Jin-Hwan Cho and Shunsaku Hirata,
  4. the dvipdfmx project team <dvipdfmx@project.ktug.or.kr>
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
  16. */
  17. #ifndef _TT_POST_H_
  18. #define _TT_POST_H_
  19. #include "sfnt.h"
  20. struct tt_post_table
  21. {
  22. Fixed Version;
  23. Fixed italicAngle;
  24. FWord underlinePosition;
  25. FWord underlineThickness;
  26. ULONG isFixedPitch;
  27. ULONG minMemType42;
  28. ULONG maxMemType42;
  29. ULONG minMemType1;
  30. ULONG maxMemType1;
  31. USHORT numberOfGlyphs;
  32. char **glyphNamePtr; /* Glyph names (pointer to C string) */
  33. char **names; /* Non-standard glyph names */
  34. USHORT count; /* Number of glyph names in names[] */
  35. };
  36. extern struct tt_post_table *tt_read_post_table (sfnt *sfont);
  37. extern void tt_release_post_table (struct tt_post_table *post);
  38. extern USHORT tt_lookup_post_table (struct tt_post_table *post, const char *glyphname);
  39. #endif /* _TT_POST_H_ */