Menu
Font & TypographyFont & TypographyFont & Typography
Standard Font
  • Simple Font Template
Bitmap / BDF Font
  • BDF Parser (TypeScript / JavaScript)
  • BDF Parser (Python)
  • BDF Spec
View & Star GitHub Repo of ...
  • BDF Parser (TypeScript / JavaScript)
  • BDF Parser (Python)
  • Simple Font Template
  • This website
  • And follow @tomchen there!
🌜
🌞
Font & TypographyFont & TypographyFont & Typography
  • Standard Font
    • Simple Font Template
  • Bitmap / BDF Font
    • BDF Parser (TypeScript / JavaScript)
    • BDF Parser (Python)
    • BDF Spec
  • View & Star GitHub Repo of ...
    • BDF Parser (TypeScript / JavaScript)
    • BDF Parser (Python)
    • Simple Font Template
    • This website
    • And follow @tomchen there!
  • BDF Parser (TS/JS) - Overview
  • Live Demo & Code Editor
  • BDF Parser (TS/JS) API
    • Font object
    • Glyph object
    • Bitmap object
  • API TS Doc (auto-generated)
    • Table of contents
    • Classes
      • Bitmap
      • Font
      • Glyph
    • Type aliases
      • CodepointRangeType
      • DirectionNumberType
      • DirectionType
      • GlyphDrawModeType
      • GlyphMeta
      • GlyphMetaInFont
      • Headers
      • OrderType
      • Props
      • TodataFuncRetType
    • Functions
      • $Bitmap
      • $Font
      • $Glyph

Function: $Glyph#

â–¸ Const$Glyph(meta_obj: GlyphMeta, font: Font): Glyph

Shortcut for new Glyph(meta_obj, font) so you don't need to write new

Parameters:#

NameTypeDescription
meta_objGlyphMetaMeta information
fontFontThe font the glyph belongs to

Returns: Glyph

The newly instantiated Glyph object

Defined in: bdfparser.ts:1852

Previous
« Function: $Font

Standard Font

  • Font Template (Illustrator + FontForge)

Bitmap Font

  • BDF Parser (TypeScript / JavaScript)
  • BDF Parser (Python)
  • BDF Specification

Social

  • BDF Parser (TypeScript / JavaScript) on GitHub
  • BDF Parser (Python) on GitHub
  • Font Template on GitHub
  • This website on GitHub
  • @tomchen on GitHub
Copyright © 2021 Tom Chen