$68 GRAYBYTE WORDPRESS FILE MANAGER $55

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/alt-nodejs18/root/usr/share/doc/alt-nodejs18-libicu-devel/samples/layout/

HOME
Current File : /opt/alt/alt-nodejs18/root/usr/share/doc/alt-nodejs18-libicu-devel/samples/layout//sfnt.h
/*
 ******************************************************************************
 *
 *   © 2016 and later: Unicode, Inc. and others.
 *   License & terms of use: http://www.unicode.org/copyright.html
 *
 ******************************************************************************
 ****************************************************************************** *
 *
 *   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



Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Apr 2024 8.33 AM
root / root
0755
FontMap.GDI
0.408 KB
11 Dec 2023 10.27 PM
root / root
0644
FontMap.Gnome
0.375 KB
11 Dec 2023 10.27 PM
root / root
0644
FontMap.cpp
7.368 KB
11 Dec 2023 10.27 PM
root / root
0644
FontMap.h
1.835 KB
11 Dec 2023 10.27 PM
root / root
0644
FontTableCache.cpp
2.377 KB
11 Dec 2023 10.27 PM
root / root
0644
FontTableCache.h
1.056 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIFontInstance.cpp
9.661 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIFontInstance.h
3.594 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIFontMap.cpp
1.319 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIFontMap.h
1.225 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIGUISupport.cpp
0.837 KB
11 Dec 2023 10.27 PM
root / root
0644
GDIGUISupport.h
0.919 KB
11 Dec 2023 10.27 PM
root / root
0644
GUISupport.h
0.861 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeFontInstance.cpp
5.442 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeFontInstance.h
3.781 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeFontMap.cpp
1.389 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeFontMap.h
1.203 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeGUISupport.cpp
1.044 KB
11 Dec 2023 10.27 PM
root / root
0644
GnomeGUISupport.h
0.931 KB
11 Dec 2023 10.27 PM
root / root
0644
LayoutSample.rc
3.354 KB
11 Dec 2023 10.27 PM
root / root
0644
Makefile
2.91 KB
1 Apr 2024 3.23 PM
root / root
0644
Makefile.in
2.913 KB
11 Dec 2023 10.27 PM
root / root
0644
RenderingSurface.h
1.085 KB
11 Dec 2023 10.27 PM
root / root
0644
Sample.txt
1.657 KB
11 Dec 2023 10.27 PM
root / root
0644
ScriptCompositeFontInstance.cpp
3.204 KB
11 Dec 2023 10.27 PM
root / root
0644
ScriptCompositeFontInstance.h
6.153 KB
11 Dec 2023 10.27 PM
root / root
0644
Surface.cpp
0.863 KB
11 Dec 2023 10.27 PM
root / root
0644
Surface.h
0.499 KB
11 Dec 2023 10.27 PM
root / root
0644
UnicodeReader.cpp
4.106 KB
11 Dec 2023 10.27 PM
root / root
0644
UnicodeReader.h
0.971 KB
11 Dec 2023 10.27 PM
root / root
0644
arraymem.h
0.623 KB
11 Dec 2023 10.27 PM
root / root
0644
cgnomelayout.c
8.459 KB
11 Dec 2023 10.27 PM
root / root
0644
clayout.c
9.837 KB
11 Dec 2023 10.27 PM
root / root
0644
cmaps.cpp
5.302 KB
11 Dec 2023 10.27 PM
root / root
0644
cmaps.h
2.049 KB
11 Dec 2023 10.27 PM
root / root
0644
gdiglue.cpp
1.659 KB
11 Dec 2023 10.27 PM
root / root
0644
gdiglue.h
0.952 KB
11 Dec 2023 10.27 PM
root / root
0644
gnomeglue.cpp
1.635 KB
11 Dec 2023 10.27 PM
root / root
0644
gnomeglue.h
0.955 KB
11 Dec 2023 10.27 PM
root / root
0644
gnomelayout.cpp
8.554 KB
11 Dec 2023 10.27 PM
root / root
0644
gsupport.h
0.354 KB
11 Dec 2023 10.27 PM
root / root
0644
layout.cpp
9.868 KB
11 Dec 2023 10.27 PM
root / root
0644
layout.sln
1.174 KB
11 Dec 2023 10.27 PM
root / root
0644
layout.vcxproj
11.475 KB
11 Dec 2023 10.27 PM
root / root
0644
layout.vcxproj.filters
3.059 KB
11 Dec 2023 10.27 PM
root / root
0644
paragraph.cpp
7.625 KB
11 Dec 2023 10.27 PM
root / root
0644
paragraph.h
2.172 KB
11 Dec 2023 10.27 PM
root / root
0644
pflow.c
9.281 KB
11 Dec 2023 10.27 PM
root / root
0644
pflow.h
0.91 KB
11 Dec 2023 10.27 PM
root / root
0644
readme.html
7.316 KB
11 Dec 2023 10.27 PM
root / root
0644
resource.h
0.878 KB
11 Dec 2023 10.27 PM
root / root
0644
rsurface.cpp
0.688 KB
11 Dec 2023 10.27 PM
root / root
0644
rsurface.h
0.508 KB
11 Dec 2023 10.27 PM
root / root
0644
sfnt.h
4.896 KB
11 Dec 2023 10.27 PM
root / root
0644
ucreader.cpp
0.492 KB
11 Dec 2023 10.27 PM
root / root
0644
ucreader.h
0.407 KB
11 Dec 2023 10.27 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF