golden hour
/opt/alt/libicu65/usr/share/doc/alt-libicu65-devel-65.1/samples/layout
⬆️ Go Up
Upload
File/Folder
Size
Actions
FontMap.GDI
426 B
Del
OK
FontMap.Gnome
392 B
Del
OK
FontMap.cpp
7.34 KB
Del
OK
FontMap.h
1.84 KB
Del
OK
FontTableCache.cpp
2.37 KB
Del
OK
FontTableCache.h
1.06 KB
Del
OK
GDIFontInstance.cpp
9.6 KB
Del
OK
GDIFontInstance.h
3.6 KB
Del
OK
GDIFontMap.cpp
1.32 KB
Del
OK
GDIFontMap.h
1.23 KB
Del
OK
GDIGUISupport.cpp
862 B
Del
OK
GDIGUISupport.h
949 B
Del
OK
GUISupport.h
890 B
Del
OK
GnomeFontInstance.cpp
5.43 KB
Del
OK
GnomeFontInstance.h
3.79 KB
Del
OK
GnomeFontMap.cpp
1.39 KB
Del
OK
GnomeFontMap.h
1.21 KB
Del
OK
GnomeGUISupport.cpp
1.05 KB
Del
OK
GnomeGUISupport.h
961 B
Del
OK
LayoutSample.rc
3.37 KB
Del
OK
Makefile
2.92 KB
Del
OK
Makefile.in
2.92 KB
Del
OK
RenderingSurface.h
1.09 KB
Del
OK
Sample.txt
1.66 KB
Del
OK
ScriptCompositeFontInstance.cpp
3.2 KB
Del
OK
ScriptCompositeFontInstance.h
6.15 KB
Del
OK
Surface.cpp
892 B
Del
OK
Surface.h
519 B
Del
OK
UnicodeReader.cpp
4.1 KB
Del
OK
UnicodeReader.h
999 B
Del
OK
arraymem.h
646 B
Del
OK
cgnomelayout.c
8.45 KB
Del
OK
clayout.c
9.82 KB
Del
OK
cmaps.cpp
5.3 KB
Del
OK
cmaps.h
2.06 KB
Del
OK
gdiglue.cpp
1.67 KB
Del
OK
gdiglue.h
983 B
Del
OK
gnomeglue.cpp
1.64 KB
Del
OK
gnomeglue.h
986 B
Del
OK
gnomelayout.cpp
8.5 KB
Del
OK
gsupport.h
370 B
Del
OK
layout.cpp
9.8 KB
Del
OK
layout.sln
1.17 KB
Del
OK
layout.vcxproj
12.92 KB
Del
OK
layout.vcxproj.filters
3.06 KB
Del
OK
paragraph.cpp
7.58 KB
Del
OK
paragraph.h
2.18 KB
Del
OK
pflow.c
9.27 KB
Del
OK
pflow.h
940 B
Del
OK
readme.html
7.32 KB
Del
OK
resource.h
907 B
Del
OK
rsurface.cpp
712 B
Del
OK
rsurface.h
528 B
Del
OK
sfnt.h
4.9 KB
Del
OK
ucreader.cpp
509 B
Del
OK
ucreader.h
422 B
Del
OK
Edit: sfnt.h
/* ****************************************************************************** * * © 2016 and later: Unicode, Inc. and others. * License & terms of use: http://www.unicode.org/copyright.html#License * ****************************************************************************** ****************************************************************************** * * * Copyright (C) 1999-2001, International Business Machines * Corporation and others. All Rights Reserved. * ****************************************************************************** * * file name: sfnt.h * * created on: ??/??/2001 * created by: Eric R. Mader */ #ifndef __SFNT_H #define __SFNT_H #include "LETypes.h" #ifndef ANY_NUMBER #define ANY_NUMBER 1 #endif struct DirectoryEntry { le_uint32 tag; le_uint32 checksum; le_uint32 offset; le_uint32 length; }; struct SFNTDirectory { le_uint32 scalerType; le_uint16 numTables; le_uint16 searchRange; le_uint16 entrySelector; le_uint16 rangeShift; DirectoryEntry tableDirectory[ANY_NUMBER]; }; struct CMAPEncodingSubtableHeader { le_uint16 platformID; le_uint16 platformSpecificID; le_uint32 encodingOffset; }; struct CMAPTable { le_uint16 version; le_uint16 numberSubtables; CMAPEncodingSubtableHeader encodingSubtableHeaders[ANY_NUMBER]; }; struct CMAPEncodingSubtable { le_uint16 format; le_uint16 length; le_uint16 language; }; struct CMAPFormat0Encoding : CMAPEncodingSubtable { le_uint8 glyphIndexArray[256]; }; struct CMAPFormat2Subheader { le_uint16 firstCode; le_uint16 entryCount; le_int16 idDelta; le_uint16 idRangeOffset; }; struct CMAPFormat2Encoding : CMAPEncodingSubtable { le_uint16 subHeadKeys[256]; CMAPFormat2Subheader subheaders[ANY_NUMBER]; }; struct CMAPFormat4Encoding : CMAPEncodingSubtable { le_uint16 segCountX2; le_uint16 searchRange; le_uint16 entrySelector; le_uint16 rangeShift; le_uint16 endCodes[ANY_NUMBER]; // le_uint16 reservedPad; // le_uint16 startCodes[ANY_NUMBER]; // le_uint16 idDelta[ANY_NUMBER]; // le_uint16 idRangeOffset[ANY_NUMBER]; // le_uint16 glyphIndexArray[ANY_NUMBER]; }; struct CMAPFormat6Encoding : CMAPEncodingSubtable { le_uint16 firstCode; le_uint16 entryCount; le_uint16 glyphIndexArray[ANY_NUMBER]; }; struct CMAPEncodingSubtable32 { le_uint32 format; le_uint32 length; le_uint32 language; }; struct CMAPGroup { le_uint32 startCharCode; le_uint32 endCharCode; le_uint32 startGlyphCode; }; struct CMAPFormat8Encoding : CMAPEncodingSubtable32 { le_uint32 is32[65536/32]; le_uint32 nGroups; CMAPGroup groups[ANY_NUMBER]; }; struct CMAPFormat10Encoding : CMAPEncodingSubtable32 { le_uint32 startCharCode; le_uint32 numCharCodes; le_uint16 glyphs[ANY_NUMBER]; }; struct CMAPFormat12Encoding : CMAPEncodingSubtable32 { le_uint32 nGroups; CMAPGroup groups[ANY_NUMBER]; }; typedef le_int32 fixed; struct BigDate { le_uint32 bc; le_uint32 ad; }; struct HEADTable { fixed version; fixed fontRevision; le_uint32 checksumAdjustment; le_uint32 magicNumber; le_uint16 flags; le_uint16 unitsPerEm; BigDate created; BigDate modified; le_int16 xMin; le_int16 yMin; le_int16 xMax; le_int16 yMax; le_int16 lowestRecPPEM; le_int16 fontDirectionHint; le_int16 indexToLocFormat; le_int16 glyphDataFormat; }; struct MAXPTable { fixed version; le_uint16 numGlyphs; le_uint16 maxPoints; le_uint16 maxContours; le_uint16 maxComponentPoints; le_uint16 maxComponentContours; le_uint16 maxZones; le_uint16 maxTwilightPoints; le_uint16 maxStorage; le_uint16 maxFunctionDefs; le_uint16 maxInstructionDefs; le_uint16 maxStackElements; le_uint16 maxSizeOfInstructions; le_uint16 maxComponentElements; le_uint16 maxComponentDepth; }; struct HHEATable { fixed version; le_int16 ascent; le_int16 descent; le_int16 lineGap; le_uint16 advanceWidthMax; le_int16 minLeftSideBearing; le_int16 minRightSideBearing; le_int16 xMaxExtent; le_int16 caretSlopeRise; le_int16 caretSlopeRun; le_int16 caretOffset; le_int16 reserved1; le_int16 reserved2; le_int16 reserved3; le_int16 reserved4; le_int16 metricDataFormat; le_uint16 numOfLongHorMetrics; }; struct LongHorMetric { le_uint16 advanceWidth; le_int16 leftSideBearing; }; struct HMTXTable { LongHorMetric hMetrics[ANY_NUMBER]; // ANY_NUMBER = numOfLongHorMetrics from hhea table // le_int16 leftSideBearing[ANY_NUMBER]; // ANY_NUMBER = numGlyphs - numOfLongHorMetrics }; #endif
Save