mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-14 12:09:36 +00:00
Font system refactor, use pre-rendered fonts
This commit is contained in:
30
PortabilityLayer/RenderedFontCatalog.h
Normal file
30
PortabilityLayer/RenderedFontCatalog.h
Normal file
@@ -0,0 +1,30 @@
|
||||
#pragma once
|
||||
|
||||
#include "PLBigEndian.h"
|
||||
|
||||
namespace PortabilityLayer
|
||||
{
|
||||
struct RenderedFontCatalogHeader
|
||||
{
|
||||
static const int kVersion = 1;
|
||||
|
||||
BEUInt32_t m_version;
|
||||
BEUInt32_t m_pathsOffset;
|
||||
BEUInt16_t m_numPaths;
|
||||
BEUInt16_t m_numRFonts;
|
||||
};
|
||||
|
||||
struct RenderedFontCatalogPathEntry
|
||||
{
|
||||
BEUInt16_t m_pathOffset;
|
||||
BEUInt16_t m_pathSize;
|
||||
};
|
||||
|
||||
struct RenderedFontCatalogRFontEntry
|
||||
{
|
||||
uint8_t m_pathIndex;
|
||||
uint8_t m_hacks;
|
||||
uint8_t m_fontSize;
|
||||
uint8_t m_isAA;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user