File tree Expand file tree Collapse file tree 3 files changed +120
-126
lines changed
Expand file tree Collapse file tree 3 files changed +120
-126
lines changed Original file line number Diff line number Diff line change 11<?php
2-
3-
42/*******************************************************************************
53* TTFontFile class *
64* *
75* This class is based on The ReportLab Open Source PDF library *
86* written in Python - http://www.reportlab.com/software/opensource/ *
97* together with ideas from the OpenOffice source code and others. *
108* *
11- * Version: 1.05 *
12- * Date: 2018-03-19 *
9+ * Version: 1.06 *
10+ * Date: 2022-12-20 *
1311* Author: Ian Back <[email protected] > * 1412* License: LGPL *
1513* Copyright (c) Ian Back, 2010 *
3735
3836class TTFontFile {
3937
40- var $ maxUni ;
41- var $ _pos ;
42- var $ numTables ;
43- var $ searchRange ;
44- var $ entrySelector ;
45- var $ rangeShift ;
46- var $ tables ;
47- var $ otables ;
48- var $ filename ;
49- var $ fh ;
50- var $ hmetrics ;
51- var $ glyphPos ;
52- var $ charToGlyph ;
53- var $ ascent ;
54- var $ descent ;
55- var $ name ;
56- var $ familyName ;
57- var $ styleName ;
58- var $ fullName ;
59- var $ uniqueFontID ;
60- var $ unitsPerEm ;
61- var $ bbox ;
62- var $ capHeight ;
63- var $ stemV ;
64- var $ italicAngle ;
65- var $ flags ;
66- var $ underlinePosition ;
67- var $ underlineThickness ;
68- var $ charWidths ;
69- var $ defaultWidth ;
70- var $ maxStrLenRead ;
38+ public $ maxUni ;
39+ public $ maxUniChar ;
40+ public $ sFamilyClass ;
41+ public $ sFamilySubClass ;
42+ public $ _pos ;
43+ public $ numTables ;
44+ public $ searchRange ;
45+ public $ entrySelector ;
46+ public $ rangeShift ;
47+ public $ tables ;
48+ public $ otables ;
49+ public $ filename ;
50+ public $ fh ;
51+ public $ hmetrics ;
52+ public $ glyphPos ;
53+ public $ charToGlyph ;
54+ public $ codeToGlyph ;
55+ public $ glyphdata ;
56+ public $ ascent ;
57+ public $ descent ;
58+ public $ TTCFonts ;
59+ public $ version ;
60+ public $ name ;
61+ public $ familyName ;
62+ public $ styleName ;
63+ public $ fullName ;
64+ public $ uniqueFontID ;
65+ public $ unitsPerEm ;
66+ public $ bbox ;
67+ public $ capHeight ;
68+ public $ stemV ;
69+ public $ italicAngle ;
70+ public $ flags ;
71+ public $ underlinePosition ;
72+ public $ underlineThickness ;
73+ public $ charWidths ;
74+ public $ defaultWidth ;
75+ public $ maxStrLenRead ;
7176
7277 function __construct () {
7378 $ this ->maxStrLenRead = 200000 ; // Maximum size of glyf table to read in as string (otherwise reads each glyph from file)
@@ -1080,10 +1085,6 @@ function endTTFile(&$stm) {
10801085 return $ stm ;
10811086 }
10821087
1083-
1084-
1085-
10861088}
10871089
1088-
1089- ?>
1090+ ?>
Original file line number Diff line number Diff line change 11<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
22< html >
33< head >
4- < meta http-equiv ="Content-Type " content ="text/html; charset=ISO-8859-1 ">
4+ < meta http-equiv ="Content-Type " content ="text/html; charset=UTF-8 ">
55< title > tFPDF</ title >
66< style type ="text/css ">
77body {font-family : "Times New Roman" , serif}
You can’t perform that action at this time.
0 commit comments