From 9c019b44c35f0df654cd87f98a6fc53cacb98438 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon, 22 Dec 2025 12:39:31 -0800 Subject: [PATCH] unified -> customGlyph --- addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts | 2 +- addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts b/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts index 081f5bbb..ae7c5442 100644 --- a/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts +++ b/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts @@ -7,7 +7,7 @@ import { CustomGlyphDefinitionType, CustomGlyphVectorType, type CustomGlyphChara /* eslint-disable @typescript-eslint/naming-convention */ -export const unifiedCharDefinitions: { [index: string]: CustomGlyphCharacterDefinition | undefined } = { +export const customGlyphDefinitions: { [index: string]: CustomGlyphCharacterDefinition | undefined } = { // #region Box Drawing (2500-257F) // https://www.unicode.org/charts/PDF/U2500.pdf diff --git a/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts b/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts index 04b70a8b..dbd17efd 100644 --- a/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts +++ b/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts @@ -4,7 +4,7 @@ */ import { throwIfFalsy } from 'browser/renderer/shared/RendererUtils'; -import { unifiedCharDefinitions } from 'customGlyphs/CustomGlyphDefinitions'; +import { customGlyphDefinitions } from 'customGlyphs/CustomGlyphDefinitions'; import { CustomGlyphDefinitionType, CustomGlyphVectorType, type CustomGlyphPathDrawFunctionDefinition, type CustomGlyphPatternDefinition, type CustomGlyphRegionDefinition, type ICustomGlyphSolidOctantBlockVector, type ICustomGlyphVectorShape } from 'customGlyphs/Types'; /** @@ -21,7 +21,7 @@ export function tryDrawCustomGlyph( fontSize: number, devicePixelRatio: number ): boolean { - const unifiedCharDefinition = unifiedCharDefinitions[c]; + const unifiedCharDefinition = customGlyphDefinitions[c]; if (unifiedCharDefinition) { switch (unifiedCharDefinition.type) { case CustomGlyphDefinitionType.SOLID_OCTANT_BLOCK_VECTOR: