From 28760cf48218881339cd0c2b0b8c0c3a32e08ce2 Mon Sep 17 00:00:00 2001 From: Daniel Imms <2193314+Tyriar@users.noreply.github.com> Date: Mon, 22 Dec 2025 10:47:35 -0800 Subject: [PATCH] Move custom glyphs into new folder --- addons/addon-webgl/src/TextureAtlas.ts | 2 +- .../{CustomGlyphs.ts => customGlyphs/CustomGlyphDefinitions.ts} | 2 +- .../addon-webgl/src/{ => customGlyphs}/CustomGlyphRasterizer.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename addons/addon-webgl/src/{CustomGlyphs.ts => customGlyphs/CustomGlyphDefinitions.ts} (99%) rename addons/addon-webgl/src/{ => customGlyphs}/CustomGlyphRasterizer.ts (99%) diff --git a/addons/addon-webgl/src/TextureAtlas.ts b/addons/addon-webgl/src/TextureAtlas.ts index 471c761a..a1a9dc38 100644 --- a/addons/addon-webgl/src/TextureAtlas.ts +++ b/addons/addon-webgl/src/TextureAtlas.ts @@ -5,7 +5,7 @@ import { IColorContrastCache } from 'browser/Types'; import { DIM_OPACITY, TEXT_BASELINE } from './Constants'; -import { tryDrawCustomChar } from './CustomGlyphRasterizer'; +import { tryDrawCustomChar } from './customGlyphs/CustomGlyphRasterizer'; import { computeNextVariantOffset, treatGlyphAsBackgroundColor, isPowerlineGlyph, isRestrictedPowerlineGlyph, throwIfFalsy } from 'browser/renderer/shared/RendererUtils'; import { IBoundingBox, ICharAtlasConfig, IRasterizedGlyph, ITextureAtlas } from './Types'; import { NULL_COLOR, channels, color, rgba } from 'common/Color'; diff --git a/addons/addon-webgl/src/CustomGlyphs.ts b/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts similarity index 99% rename from addons/addon-webgl/src/CustomGlyphs.ts rename to addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts index e5186526..6e4f39b7 100644 --- a/addons/addon-webgl/src/CustomGlyphs.ts +++ b/addons/addon-webgl/src/customGlyphs/CustomGlyphDefinitions.ts @@ -5,7 +5,7 @@ /* eslint-disable @typescript-eslint/naming-convention */ -import { VectorType, type DrawFunctionDefinition, type ISolidOctantBlockVector, type IVectorShape, type PatternDefinition } from 'CustomGlyphRasterizer'; +import { VectorType, type DrawFunctionDefinition, type ISolidOctantBlockVector, type IVectorShape, type PatternDefinition } from 'customGlyphs/CustomGlyphRasterizer'; export const blockElementDefinitions: { [index: string]: ISolidOctantBlockVector[] | undefined } = { // Block elements (0x2580-0x2590) diff --git a/addons/addon-webgl/src/CustomGlyphRasterizer.ts b/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts similarity index 99% rename from addons/addon-webgl/src/CustomGlyphRasterizer.ts rename to addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts index 227f3cd6..d8faca6f 100644 --- a/addons/addon-webgl/src/CustomGlyphRasterizer.ts +++ b/addons/addon-webgl/src/customGlyphs/CustomGlyphRasterizer.ts @@ -4,7 +4,7 @@ */ import { throwIfFalsy } from 'browser/renderer/shared/RendererUtils'; -import { blockElementDefinitions, blockShadeComboDefinitions, boxDrawingDefinitions, patternCharacterDefinitions, powerlineDefinitions, rectangularShadeDefinitions, symbolsForLegacyComputingDefinitions } from 'CustomGlyphs'; +import { blockElementDefinitions, blockShadeComboDefinitions, boxDrawingDefinitions, patternCharacterDefinitions, powerlineDefinitions, rectangularShadeDefinitions, symbolsForLegacyComputingDefinitions } from 'customGlyphs/CustomGlyphDefinitions'; export interface ISolidOctantBlockVector { x: number;