~ubuntu-branches/ubuntu/gutsy/blender/gutsy-security

« back to all changes in this revision

Viewing changes to extern/bFTGL/test/Fontdefs.h

  • Committer: Bazaar Package Importer
  • Author(s): Florian Ernst
  • Date: 2005-11-06 12:40:03 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051106124003-3pgs7tcg5rox96xg
Tags: 2.37a-1.1
* Non-maintainer upload.
* Split out parts of 01_SConstruct_debian.dpatch again: root_build_dir
  really needs to get adjusted before the clean target runs - closes: #333958,
  see #288882 for reference

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef    __Font_defs__
 
2
#define    __Font_defs__
 
3
 
 
4
 
 
5
const char* const BAD_FONT_FILE   = "missing_font.ttf";
 
6
const char* const GOOD_FONT_FILE  = "../../test/font_pack/MHei-Medium-Acro";
 
7
const char* const ARIAL_FONT_FILE = "../../test/font_pack/arial.ttf";
 
8
const char* const FONT_FILE       = "../../test/font_pack/times.ttf";
 
9
const char* const TYPE1_FONT_FILE = "../../test/font_pack/HPGCalc.pfb";
 
10
const char* const TYPE1_AFM_FILE  = "../../test/font_pack/HPGCalc.afm";
 
11
 
 
12
const char*    const GOOD_ASCII_TEST_STRING        = "test string";
 
13
const char*    const BAD_ASCII_TEST_STRING         = "";
 
14
const wchar_t        GOOD_UNICODE_TEST_STRING[4]   = { 0x6FB3, 0x9580, 0x0};
 
15
const wchar_t* const BAD_UNICODE_TEST_STRING       = L"";
 
16
 
 
17
const unsigned int FONT_POINT_SIZE  = 72;
 
18
const unsigned int RESOLUTION = 72;
 
19
 
 
20
const unsigned int CHARACTER_CODE_A        = 'A';
 
21
const unsigned int CHARACTER_CODE_G        = 'g';
 
22
const unsigned int BIG_CHARACTER_CODE      = 0x6FB3;
 
23
const unsigned int NULL_CHARACTER_CODE     = 512;
 
24
const unsigned int NULL_CHARACTER_INDEX    = ' ';
 
25
const unsigned int SIMPLE_CHARACTER_INDEX  = 'i';
 
26
const unsigned int COMPLEX_CHARACTER_INDEX = 'd';
 
27
 
 
28
const unsigned int FONT_INDEX_OF_A = 34;
 
29
const unsigned int BIG_FONT_INDEX  = 4838;
 
30
const unsigned int NULL_FONT_INDEX = 0;
 
31
 
 
32
const unsigned int NUMBER_OF_GLYPHS = 50;
 
33
const unsigned int TOO_MANY_GLYPHS  = 14100; // MHei-Medium-Acro has 14099
 
34
 
 
35
 
 
36
#include "HPGCalc_pfb.cpp"
 
37
#include "HPGCalc_afm.cpp"
 
38
 
 
39
#endif // __Font_defs__
 
 
b'\\ No newline at end of file'