Re-enable runtime font rendering if a font handler is assigned, clean up some font handler things.

This commit is contained in:
elasota
2021-04-15 19:32:15 -04:00
parent c49bab04d5
commit 4e8e76f8fc
15 changed files with 103 additions and 140 deletions

View File

@@ -1,5 +1,6 @@
#pragma once
#include "FontPresets.h"
#include "PascalStr.h"
#include "PLWidgets.h"
#include "Vec2i.h"
@@ -111,7 +112,7 @@ namespace PortabilityLayer
size_t IdentifySpanLength(size_t startChar, SpanScanDirection scanDirection) const;
static CharacterCategory CategorizeCharacter(uint8_t character);
PortabilityLayer::FontFamily *GetFontFamily() const;
PortabilityLayer::FontPreset_t GetFontPreset() const;
PortabilityLayer::RenderedFont *GetRenderedFont() const;
uint8_t *m_chars;