diff --git a/src/SimpleDraw.jl b/src/SimpleDraw.jl index 7de9664..cafa3d6 100644 --- a/src/SimpleDraw.jl +++ b/src/SimpleDraw.jl @@ -9,6 +9,7 @@ include("circle.jl") include("rectangle.jl") include("triangle.jl") include("bitmap.jl") +include("fonts/fonts.jl") include("character.jl") include("text.jl") include("visualize.jl") diff --git a/src/character.jl b/src/character.jl index c99823b..008c3e5 100644 --- a/src/character.jl +++ b/src/character.jl @@ -1,54 +1,3 @@ -abstract type AbstractFont end - -abstract type AbstractASCIIFont <: AbstractFont end - -include("fonts/Terminus_32_16.jl") -include("fonts/Terminus_16_8.jl") - -const FONTS = [ - TERMINUS_32_16, - TERMINUS_16_8, - ] - -""" - get_height(font::AbstractFont) - -Return the height of a glyph contained in the monospace font `font` along the i-axis (vertical-axis, 1st-axis). - -See also [`get_width`](@ref). - -# Examples -```julia-repl -julia> get_height(TERMINUS_32_16) -32 - -julia> get_height(TERMINUS_16_8) -16 -``` -""" -get_height(font::Terminus_32_16) = 32 - -""" - get_width(font::AbstractFont) - -Return the width of a glyph contained in the monospace font `font` along the j-axis (horizontal-axis, 2nd-axis). - -See also [`get_width`](@ref). - -# Examples -```julia-repl -julia> get_width(TERMINUS_32_16) -16 - -julia> get_width(TERMINUS_16_8) -8 -``` -""" -get_width(font::Terminus_32_16) = 16 - -get_height(font::Terminus_16_8) = 16 -get_width(font::Terminus_16_8) = 8 - """ struct Character{I <: Integer, C <: AbstractChar, F <: AbstractFont} <: AbstractShape position::Point{I} @@ -108,19 +57,6 @@ struct Character{I <: Integer, C <: AbstractChar, F <: AbstractFont} <: Abstract font::F end -has_char(font::AbstractASCIIFont, character) = isascii(character) && isprint(character) - -function get_bitmap(font, character) - bitmap = font.bitmap - - codepoint_begin = codepoint(' ') - k = codepoint(character) - codepoint_begin + one(codepoint_begin) - - char_bitmap = @view bitmap[:, :, k] - - return char_bitmap -end - get_i_min(shape::Character) = shape.position.i get_i_max(shape::Character) = isprint(shape.character) ? shape.position.i + get_height(shape.font) - one(shape.position.i) : shape.position.i diff --git a/src/fonts/README.md b/src/fonts/README.md index b90ab71..ed1a4d0 100644 --- a/src/fonts/README.md +++ b/src/fonts/README.md @@ -1,6 +1,6 @@ # Fonts -`extract_bitmap.jl` is a helper script that parses a `.bdf` bitmap font file and generates a `.jl` file containing the bitmap for the font glyphs as a `BitArray{3}`. +`extract_bitmaps.jl` is a helper script that parses a `.bdf` bitmap font file and generates a `.jl` file containing the bitmaps for the font glyphs as a `BitArray{3}`. The script is very limited at this point and can only process fonts where the width of the font is a multiple of 4. @@ -9,18 +9,18 @@ The generated julia file for a font is then included in `/src/character.jl` (aft Here is an example usage: ```julia-repl -julia> include("extract_bitmap.jl") +julia> include("extract_bitmaps.jl") generate_julia_font_file (generic function with 1 method) -julia> include("extract_bitmap.jl"); +julia> include("extract_bitmaps.jl"); julia> font_height = 16; font_width = 8; unicode_codepoints_to_take = 32:126; julia> font_file = "../../fonts/terminus-font-4.49.1/ter-u16n.bdf"; -julia> font_type_name = "Terminus_16_8"; font_bitmap_name = "TERMINUS_16_8"; +julia> font_type_name = "Terminus_16_8"; font_instance_name = "TERMINUS_16_8"; -julia> font_info = FontInfo(font_height, font_width, unicode_codepoints_to_take, font_file, font_type_name, font_bitmap_name) +julia> font_info = FontInfo(font_height, font_width, unicode_codepoints_to_take, font_file, font_type_name, font_instance_name) FontInfo(16, 8, 32:126, "../../fonts/terminus-font-4.49.1/ter-u16n.bdf", "Terminus_16_8", "TERMINUS_16_8") julia> generate_julia_font_file(font_info) diff --git a/src/fonts/Terminus_16_8.jl b/src/fonts/Terminus_16_8.jl index b3450d0..e8f69d4 100644 --- a/src/fonts/Terminus_16_8.jl +++ b/src/fonts/Terminus_16_8.jl @@ -1,6 +1,6 @@ """ struct Terminus_16_8 <: AbstractASCIIFont - bitmap::BitArray{3} + bitmaps::BitArray{3} end A monospace bitmap font with each glyph having a height of 16 pixels and a width of 8 pixels. Only ASCII character glyphs are available for now. @@ -33,12 +33,12 @@ julia> visualize(image) 16▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░▒▒░░ """ struct Terminus_16_8 <: AbstractASCIIFont - bitmap::BitArray{3} + bitmaps::BitArray{3} end const TERMINUS_16_8 = Terminus_16_8(falses(16, 8, 95)) -TERMINUS_16_8.bitmap[:, :, 1] = [ +TERMINUS_16_8.bitmaps[:, :, 1] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -57,7 +57,7 @@ TERMINUS_16_8.bitmap[:, :, 1] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 2] = [ +TERMINUS_16_8.bitmaps[:, :, 2] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 @@ -76,7 +76,7 @@ TERMINUS_16_8.bitmap[:, :, 2] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 3] = [ +TERMINUS_16_8.bitmaps[:, :, 3] = [ 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 1 0 0 1 0 0 @@ -95,7 +95,7 @@ TERMINUS_16_8.bitmap[:, :, 3] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 4] = [ +TERMINUS_16_8.bitmaps[:, :, 4] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 0 @@ -114,7 +114,7 @@ TERMINUS_16_8.bitmap[:, :, 4] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 5] = [ +TERMINUS_16_8.bitmaps[:, :, 5] = [ 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 @@ -133,7 +133,7 @@ TERMINUS_16_8.bitmap[:, :, 5] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 6] = [ +TERMINUS_16_8.bitmaps[:, :, 6] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 1 0 0 @@ -152,7 +152,7 @@ TERMINUS_16_8.bitmap[:, :, 6] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 7] = [ +TERMINUS_16_8.bitmaps[:, :, 7] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 @@ -171,7 +171,7 @@ TERMINUS_16_8.bitmap[:, :, 7] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 8] = [ +TERMINUS_16_8.bitmaps[:, :, 8] = [ 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 @@ -190,7 +190,7 @@ TERMINUS_16_8.bitmap[:, :, 8] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 9] = [ +TERMINUS_16_8.bitmaps[:, :, 9] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 @@ -209,7 +209,7 @@ TERMINUS_16_8.bitmap[:, :, 9] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 10] = [ +TERMINUS_16_8.bitmaps[:, :, 10] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 @@ -228,7 +228,7 @@ TERMINUS_16_8.bitmap[:, :, 10] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 11] = [ +TERMINUS_16_8.bitmaps[:, :, 11] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -247,7 +247,7 @@ TERMINUS_16_8.bitmap[:, :, 11] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 12] = [ +TERMINUS_16_8.bitmaps[:, :, 12] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -266,7 +266,7 @@ TERMINUS_16_8.bitmap[:, :, 12] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 13] = [ +TERMINUS_16_8.bitmaps[:, :, 13] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -285,7 +285,7 @@ TERMINUS_16_8.bitmap[:, :, 13] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 14] = [ +TERMINUS_16_8.bitmaps[:, :, 14] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -304,7 +304,7 @@ TERMINUS_16_8.bitmap[:, :, 14] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 15] = [ +TERMINUS_16_8.bitmaps[:, :, 15] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -323,7 +323,7 @@ TERMINUS_16_8.bitmap[:, :, 15] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 16] = [ +TERMINUS_16_8.bitmaps[:, :, 16] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 @@ -342,7 +342,7 @@ TERMINUS_16_8.bitmap[:, :, 16] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 17] = [ +TERMINUS_16_8.bitmaps[:, :, 17] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -361,7 +361,7 @@ TERMINUS_16_8.bitmap[:, :, 17] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 18] = [ +TERMINUS_16_8.bitmaps[:, :, 18] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 @@ -380,7 +380,7 @@ TERMINUS_16_8.bitmap[:, :, 18] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 19] = [ +TERMINUS_16_8.bitmaps[:, :, 19] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -399,7 +399,7 @@ TERMINUS_16_8.bitmap[:, :, 19] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 20] = [ +TERMINUS_16_8.bitmaps[:, :, 20] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -418,7 +418,7 @@ TERMINUS_16_8.bitmap[:, :, 20] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 21] = [ +TERMINUS_16_8.bitmaps[:, :, 21] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 @@ -437,7 +437,7 @@ TERMINUS_16_8.bitmap[:, :, 21] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 22] = [ +TERMINUS_16_8.bitmaps[:, :, 22] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 @@ -456,7 +456,7 @@ TERMINUS_16_8.bitmap[:, :, 22] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 23] = [ +TERMINUS_16_8.bitmaps[:, :, 23] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 @@ -475,7 +475,7 @@ TERMINUS_16_8.bitmap[:, :, 23] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 24] = [ +TERMINUS_16_8.bitmaps[:, :, 24] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 @@ -494,7 +494,7 @@ TERMINUS_16_8.bitmap[:, :, 24] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 25] = [ +TERMINUS_16_8.bitmaps[:, :, 25] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -513,7 +513,7 @@ TERMINUS_16_8.bitmap[:, :, 25] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 26] = [ +TERMINUS_16_8.bitmaps[:, :, 26] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -532,7 +532,7 @@ TERMINUS_16_8.bitmap[:, :, 26] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 27] = [ +TERMINUS_16_8.bitmaps[:, :, 27] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -551,7 +551,7 @@ TERMINUS_16_8.bitmap[:, :, 27] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 28] = [ +TERMINUS_16_8.bitmaps[:, :, 28] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -570,7 +570,7 @@ TERMINUS_16_8.bitmap[:, :, 28] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 29] = [ +TERMINUS_16_8.bitmaps[:, :, 29] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -589,7 +589,7 @@ TERMINUS_16_8.bitmap[:, :, 29] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 30] = [ +TERMINUS_16_8.bitmaps[:, :, 30] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -608,7 +608,7 @@ TERMINUS_16_8.bitmap[:, :, 30] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 31] = [ +TERMINUS_16_8.bitmaps[:, :, 31] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -627,7 +627,7 @@ TERMINUS_16_8.bitmap[:, :, 31] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 32] = [ +TERMINUS_16_8.bitmaps[:, :, 32] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -646,7 +646,7 @@ TERMINUS_16_8.bitmap[:, :, 32] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 33] = [ +TERMINUS_16_8.bitmaps[:, :, 33] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 @@ -665,7 +665,7 @@ TERMINUS_16_8.bitmap[:, :, 33] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 34] = [ +TERMINUS_16_8.bitmaps[:, :, 34] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -684,7 +684,7 @@ TERMINUS_16_8.bitmap[:, :, 34] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 35] = [ +TERMINUS_16_8.bitmaps[:, :, 35] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 @@ -703,7 +703,7 @@ TERMINUS_16_8.bitmap[:, :, 35] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 36] = [ +TERMINUS_16_8.bitmaps[:, :, 36] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -722,7 +722,7 @@ TERMINUS_16_8.bitmap[:, :, 36] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 37] = [ +TERMINUS_16_8.bitmaps[:, :, 37] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 0 @@ -741,7 +741,7 @@ TERMINUS_16_8.bitmap[:, :, 37] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 38] = [ +TERMINUS_16_8.bitmaps[:, :, 38] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 @@ -760,7 +760,7 @@ TERMINUS_16_8.bitmap[:, :, 38] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 39] = [ +TERMINUS_16_8.bitmaps[:, :, 39] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 @@ -779,7 +779,7 @@ TERMINUS_16_8.bitmap[:, :, 39] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 40] = [ +TERMINUS_16_8.bitmaps[:, :, 40] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -798,7 +798,7 @@ TERMINUS_16_8.bitmap[:, :, 40] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 41] = [ +TERMINUS_16_8.bitmaps[:, :, 41] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -817,7 +817,7 @@ TERMINUS_16_8.bitmap[:, :, 41] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 42] = [ +TERMINUS_16_8.bitmaps[:, :, 42] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 @@ -836,7 +836,7 @@ TERMINUS_16_8.bitmap[:, :, 42] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 43] = [ +TERMINUS_16_8.bitmaps[:, :, 43] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 @@ -855,7 +855,7 @@ TERMINUS_16_8.bitmap[:, :, 43] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 44] = [ +TERMINUS_16_8.bitmaps[:, :, 44] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -874,7 +874,7 @@ TERMINUS_16_8.bitmap[:, :, 44] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 45] = [ +TERMINUS_16_8.bitmaps[:, :, 45] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 @@ -893,7 +893,7 @@ TERMINUS_16_8.bitmap[:, :, 45] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 46] = [ +TERMINUS_16_8.bitmaps[:, :, 46] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 @@ -912,7 +912,7 @@ TERMINUS_16_8.bitmap[:, :, 46] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 47] = [ +TERMINUS_16_8.bitmaps[:, :, 47] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -931,7 +931,7 @@ TERMINUS_16_8.bitmap[:, :, 47] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 48] = [ +TERMINUS_16_8.bitmaps[:, :, 48] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -950,7 +950,7 @@ TERMINUS_16_8.bitmap[:, :, 48] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 49] = [ +TERMINUS_16_8.bitmaps[:, :, 49] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 @@ -969,7 +969,7 @@ TERMINUS_16_8.bitmap[:, :, 49] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 50] = [ +TERMINUS_16_8.bitmaps[:, :, 50] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -988,7 +988,7 @@ TERMINUS_16_8.bitmap[:, :, 50] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 51] = [ +TERMINUS_16_8.bitmaps[:, :, 51] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 0 0 @@ -1007,7 +1007,7 @@ TERMINUS_16_8.bitmap[:, :, 51] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 52] = [ +TERMINUS_16_8.bitmaps[:, :, 52] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 0 0 @@ -1026,7 +1026,7 @@ TERMINUS_16_8.bitmap[:, :, 52] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 53] = [ +TERMINUS_16_8.bitmaps[:, :, 53] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 0 @@ -1045,7 +1045,7 @@ TERMINUS_16_8.bitmap[:, :, 53] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 54] = [ +TERMINUS_16_8.bitmaps[:, :, 54] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -1064,7 +1064,7 @@ TERMINUS_16_8.bitmap[:, :, 54] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 55] = [ +TERMINUS_16_8.bitmaps[:, :, 55] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -1083,7 +1083,7 @@ TERMINUS_16_8.bitmap[:, :, 55] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 56] = [ +TERMINUS_16_8.bitmaps[:, :, 56] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 @@ -1102,7 +1102,7 @@ TERMINUS_16_8.bitmap[:, :, 56] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 57] = [ +TERMINUS_16_8.bitmaps[:, :, 57] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 @@ -1121,7 +1121,7 @@ TERMINUS_16_8.bitmap[:, :, 57] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 58] = [ +TERMINUS_16_8.bitmaps[:, :, 58] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 @@ -1140,7 +1140,7 @@ TERMINUS_16_8.bitmap[:, :, 58] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 59] = [ +TERMINUS_16_8.bitmaps[:, :, 59] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 0 @@ -1159,7 +1159,7 @@ TERMINUS_16_8.bitmap[:, :, 59] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 60] = [ +TERMINUS_16_8.bitmaps[:, :, 60] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 @@ -1178,7 +1178,7 @@ TERMINUS_16_8.bitmap[:, :, 60] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 61] = [ +TERMINUS_16_8.bitmaps[:, :, 61] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 @@ -1197,7 +1197,7 @@ TERMINUS_16_8.bitmap[:, :, 61] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 62] = [ +TERMINUS_16_8.bitmaps[:, :, 62] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 @@ -1216,7 +1216,7 @@ TERMINUS_16_8.bitmap[:, :, 62] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 63] = [ +TERMINUS_16_8.bitmaps[:, :, 63] = [ 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 1 0 0 0 @@ -1235,7 +1235,7 @@ TERMINUS_16_8.bitmap[:, :, 63] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 64] = [ +TERMINUS_16_8.bitmaps[:, :, 64] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1254,7 +1254,7 @@ TERMINUS_16_8.bitmap[:, :, 64] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 65] = [ +TERMINUS_16_8.bitmaps[:, :, 65] = [ 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 @@ -1273,7 +1273,7 @@ TERMINUS_16_8.bitmap[:, :, 65] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 66] = [ +TERMINUS_16_8.bitmaps[:, :, 66] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1292,7 +1292,7 @@ TERMINUS_16_8.bitmap[:, :, 66] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 67] = [ +TERMINUS_16_8.bitmaps[:, :, 67] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 @@ -1311,7 +1311,7 @@ TERMINUS_16_8.bitmap[:, :, 67] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 68] = [ +TERMINUS_16_8.bitmaps[:, :, 68] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1330,7 +1330,7 @@ TERMINUS_16_8.bitmap[:, :, 68] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 69] = [ +TERMINUS_16_8.bitmaps[:, :, 69] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 @@ -1349,7 +1349,7 @@ TERMINUS_16_8.bitmap[:, :, 69] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 70] = [ +TERMINUS_16_8.bitmaps[:, :, 70] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1368,7 +1368,7 @@ TERMINUS_16_8.bitmap[:, :, 70] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 71] = [ +TERMINUS_16_8.bitmaps[:, :, 71] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 @@ -1387,7 +1387,7 @@ TERMINUS_16_8.bitmap[:, :, 71] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 72] = [ +TERMINUS_16_8.bitmaps[:, :, 72] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1406,7 +1406,7 @@ TERMINUS_16_8.bitmap[:, :, 72] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 73] = [ +TERMINUS_16_8.bitmaps[:, :, 73] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 @@ -1425,7 +1425,7 @@ TERMINUS_16_8.bitmap[:, :, 73] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 74] = [ +TERMINUS_16_8.bitmaps[:, :, 74] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 @@ -1444,7 +1444,7 @@ TERMINUS_16_8.bitmap[:, :, 74] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 75] = [ +TERMINUS_16_8.bitmaps[:, :, 75] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 @@ -1463,7 +1463,7 @@ TERMINUS_16_8.bitmap[:, :, 75] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 76] = [ +TERMINUS_16_8.bitmaps[:, :, 76] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 @@ -1482,7 +1482,7 @@ TERMINUS_16_8.bitmap[:, :, 76] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 77] = [ +TERMINUS_16_8.bitmaps[:, :, 77] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 @@ -1501,7 +1501,7 @@ TERMINUS_16_8.bitmap[:, :, 77] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 78] = [ +TERMINUS_16_8.bitmaps[:, :, 78] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1520,7 +1520,7 @@ TERMINUS_16_8.bitmap[:, :, 78] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 79] = [ +TERMINUS_16_8.bitmaps[:, :, 79] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1539,7 +1539,7 @@ TERMINUS_16_8.bitmap[:, :, 79] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 80] = [ +TERMINUS_16_8.bitmaps[:, :, 80] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1558,7 +1558,7 @@ TERMINUS_16_8.bitmap[:, :, 80] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 81] = [ +TERMINUS_16_8.bitmaps[:, :, 81] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1577,7 +1577,7 @@ TERMINUS_16_8.bitmap[:, :, 81] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 82] = [ +TERMINUS_16_8.bitmaps[:, :, 82] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1596,7 +1596,7 @@ TERMINUS_16_8.bitmap[:, :, 82] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 83] = [ +TERMINUS_16_8.bitmaps[:, :, 83] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1615,7 +1615,7 @@ TERMINUS_16_8.bitmap[:, :, 83] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 84] = [ +TERMINUS_16_8.bitmaps[:, :, 84] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1634,7 +1634,7 @@ TERMINUS_16_8.bitmap[:, :, 84] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 85] = [ +TERMINUS_16_8.bitmaps[:, :, 85] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 @@ -1653,7 +1653,7 @@ TERMINUS_16_8.bitmap[:, :, 85] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 86] = [ +TERMINUS_16_8.bitmaps[:, :, 86] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1672,7 +1672,7 @@ TERMINUS_16_8.bitmap[:, :, 86] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 87] = [ +TERMINUS_16_8.bitmaps[:, :, 87] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1691,7 +1691,7 @@ TERMINUS_16_8.bitmap[:, :, 87] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 88] = [ +TERMINUS_16_8.bitmaps[:, :, 88] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1710,7 +1710,7 @@ TERMINUS_16_8.bitmap[:, :, 88] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 89] = [ +TERMINUS_16_8.bitmaps[:, :, 89] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1729,7 +1729,7 @@ TERMINUS_16_8.bitmap[:, :, 89] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 90] = [ +TERMINUS_16_8.bitmaps[:, :, 90] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1748,7 +1748,7 @@ TERMINUS_16_8.bitmap[:, :, 90] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 91] = [ +TERMINUS_16_8.bitmaps[:, :, 91] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1767,7 +1767,7 @@ TERMINUS_16_8.bitmap[:, :, 91] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 92] = [ +TERMINUS_16_8.bitmaps[:, :, 92] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 @@ -1786,7 +1786,7 @@ TERMINUS_16_8.bitmap[:, :, 92] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 93] = [ +TERMINUS_16_8.bitmaps[:, :, 93] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 @@ -1805,7 +1805,7 @@ TERMINUS_16_8.bitmap[:, :, 93] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 94] = [ +TERMINUS_16_8.bitmaps[:, :, 94] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 @@ -1824,7 +1824,7 @@ TERMINUS_16_8.bitmap[:, :, 94] = [ 0 0 0 0 0 0 0 0 ] -TERMINUS_16_8.bitmap[:, :, 95] = [ +TERMINUS_16_8.bitmaps[:, :, 95] = [ 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 1 0 0 1 0 0 1 0 diff --git a/src/fonts/Terminus_32_16.jl b/src/fonts/Terminus_32_16.jl index a010f62..3acac75 100644 --- a/src/fonts/Terminus_32_16.jl +++ b/src/fonts/Terminus_32_16.jl @@ -1,6 +1,6 @@ """ struct Terminus_32_16 <: AbstractASCIIFont - bitmap::BitArray{3} + bitmaps::BitArray{3} end A monospace bitmap font with each glyph having a height of 32 pixels and a width of 16 pixels. Only ASCII character glyphs are available for now. @@ -50,12 +50,12 @@ julia> visualize(image) ``` """ struct Terminus_32_16 <: AbstractASCIIFont - bitmap::BitArray{3} + bitmaps::BitArray{3} end const TERMINUS_32_16 = Terminus_32_16(falses(32, 16, 95)) -TERMINUS_32_16.bitmap[:, :, 1] = [ +TERMINUS_32_16.bitmaps[:, :, 1] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -90,7 +90,7 @@ TERMINUS_32_16.bitmap[:, :, 1] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 2] = [ +TERMINUS_32_16.bitmaps[:, :, 2] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -125,7 +125,7 @@ TERMINUS_32_16.bitmap[:, :, 2] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 3] = [ +TERMINUS_32_16.bitmaps[:, :, 3] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -160,7 +160,7 @@ TERMINUS_32_16.bitmap[:, :, 3] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 4] = [ +TERMINUS_32_16.bitmaps[:, :, 4] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -195,7 +195,7 @@ TERMINUS_32_16.bitmap[:, :, 4] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 5] = [ +TERMINUS_32_16.bitmaps[:, :, 5] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -230,7 +230,7 @@ TERMINUS_32_16.bitmap[:, :, 5] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 6] = [ +TERMINUS_32_16.bitmaps[:, :, 6] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -265,7 +265,7 @@ TERMINUS_32_16.bitmap[:, :, 6] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 7] = [ +TERMINUS_32_16.bitmaps[:, :, 7] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -300,7 +300,7 @@ TERMINUS_32_16.bitmap[:, :, 7] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 8] = [ +TERMINUS_32_16.bitmaps[:, :, 8] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -335,7 +335,7 @@ TERMINUS_32_16.bitmap[:, :, 8] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 9] = [ +TERMINUS_32_16.bitmaps[:, :, 9] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -370,7 +370,7 @@ TERMINUS_32_16.bitmap[:, :, 9] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 10] = [ +TERMINUS_32_16.bitmaps[:, :, 10] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -405,7 +405,7 @@ TERMINUS_32_16.bitmap[:, :, 10] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 11] = [ +TERMINUS_32_16.bitmaps[:, :, 11] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -440,7 +440,7 @@ TERMINUS_32_16.bitmap[:, :, 11] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 12] = [ +TERMINUS_32_16.bitmaps[:, :, 12] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -475,7 +475,7 @@ TERMINUS_32_16.bitmap[:, :, 12] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 13] = [ +TERMINUS_32_16.bitmaps[:, :, 13] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -510,7 +510,7 @@ TERMINUS_32_16.bitmap[:, :, 13] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 14] = [ +TERMINUS_32_16.bitmaps[:, :, 14] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -545,7 +545,7 @@ TERMINUS_32_16.bitmap[:, :, 14] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 15] = [ +TERMINUS_32_16.bitmaps[:, :, 15] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -580,7 +580,7 @@ TERMINUS_32_16.bitmap[:, :, 15] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 16] = [ +TERMINUS_32_16.bitmaps[:, :, 16] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -615,7 +615,7 @@ TERMINUS_32_16.bitmap[:, :, 16] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 17] = [ +TERMINUS_32_16.bitmaps[:, :, 17] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -650,7 +650,7 @@ TERMINUS_32_16.bitmap[:, :, 17] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 18] = [ +TERMINUS_32_16.bitmaps[:, :, 18] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -685,7 +685,7 @@ TERMINUS_32_16.bitmap[:, :, 18] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 19] = [ +TERMINUS_32_16.bitmaps[:, :, 19] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -720,7 +720,7 @@ TERMINUS_32_16.bitmap[:, :, 19] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 20] = [ +TERMINUS_32_16.bitmaps[:, :, 20] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -755,7 +755,7 @@ TERMINUS_32_16.bitmap[:, :, 20] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 21] = [ +TERMINUS_32_16.bitmaps[:, :, 21] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -790,7 +790,7 @@ TERMINUS_32_16.bitmap[:, :, 21] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 22] = [ +TERMINUS_32_16.bitmaps[:, :, 22] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -825,7 +825,7 @@ TERMINUS_32_16.bitmap[:, :, 22] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 23] = [ +TERMINUS_32_16.bitmaps[:, :, 23] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -860,7 +860,7 @@ TERMINUS_32_16.bitmap[:, :, 23] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 24] = [ +TERMINUS_32_16.bitmaps[:, :, 24] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -895,7 +895,7 @@ TERMINUS_32_16.bitmap[:, :, 24] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 25] = [ +TERMINUS_32_16.bitmaps[:, :, 25] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -930,7 +930,7 @@ TERMINUS_32_16.bitmap[:, :, 25] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 26] = [ +TERMINUS_32_16.bitmaps[:, :, 26] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -965,7 +965,7 @@ TERMINUS_32_16.bitmap[:, :, 26] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 27] = [ +TERMINUS_32_16.bitmaps[:, :, 27] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1000,7 +1000,7 @@ TERMINUS_32_16.bitmap[:, :, 27] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 28] = [ +TERMINUS_32_16.bitmaps[:, :, 28] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1035,7 +1035,7 @@ TERMINUS_32_16.bitmap[:, :, 28] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 29] = [ +TERMINUS_32_16.bitmaps[:, :, 29] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1070,7 +1070,7 @@ TERMINUS_32_16.bitmap[:, :, 29] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 30] = [ +TERMINUS_32_16.bitmaps[:, :, 30] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1105,7 +1105,7 @@ TERMINUS_32_16.bitmap[:, :, 30] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 31] = [ +TERMINUS_32_16.bitmaps[:, :, 31] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1140,7 +1140,7 @@ TERMINUS_32_16.bitmap[:, :, 31] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 32] = [ +TERMINUS_32_16.bitmaps[:, :, 32] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1175,7 +1175,7 @@ TERMINUS_32_16.bitmap[:, :, 32] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 33] = [ +TERMINUS_32_16.bitmaps[:, :, 33] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1210,7 +1210,7 @@ TERMINUS_32_16.bitmap[:, :, 33] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 34] = [ +TERMINUS_32_16.bitmaps[:, :, 34] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1245,7 +1245,7 @@ TERMINUS_32_16.bitmap[:, :, 34] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 35] = [ +TERMINUS_32_16.bitmaps[:, :, 35] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1280,7 +1280,7 @@ TERMINUS_32_16.bitmap[:, :, 35] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 36] = [ +TERMINUS_32_16.bitmaps[:, :, 36] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1315,7 +1315,7 @@ TERMINUS_32_16.bitmap[:, :, 36] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 37] = [ +TERMINUS_32_16.bitmaps[:, :, 37] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1350,7 +1350,7 @@ TERMINUS_32_16.bitmap[:, :, 37] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 38] = [ +TERMINUS_32_16.bitmaps[:, :, 38] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1385,7 +1385,7 @@ TERMINUS_32_16.bitmap[:, :, 38] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 39] = [ +TERMINUS_32_16.bitmaps[:, :, 39] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1420,7 +1420,7 @@ TERMINUS_32_16.bitmap[:, :, 39] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 40] = [ +TERMINUS_32_16.bitmaps[:, :, 40] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1455,7 +1455,7 @@ TERMINUS_32_16.bitmap[:, :, 40] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 41] = [ +TERMINUS_32_16.bitmaps[:, :, 41] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1490,7 +1490,7 @@ TERMINUS_32_16.bitmap[:, :, 41] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 42] = [ +TERMINUS_32_16.bitmaps[:, :, 42] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1525,7 +1525,7 @@ TERMINUS_32_16.bitmap[:, :, 42] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 43] = [ +TERMINUS_32_16.bitmaps[:, :, 43] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1560,7 +1560,7 @@ TERMINUS_32_16.bitmap[:, :, 43] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 44] = [ +TERMINUS_32_16.bitmaps[:, :, 44] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1595,7 +1595,7 @@ TERMINUS_32_16.bitmap[:, :, 44] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 45] = [ +TERMINUS_32_16.bitmaps[:, :, 45] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1630,7 +1630,7 @@ TERMINUS_32_16.bitmap[:, :, 45] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 46] = [ +TERMINUS_32_16.bitmaps[:, :, 46] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1665,7 +1665,7 @@ TERMINUS_32_16.bitmap[:, :, 46] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 47] = [ +TERMINUS_32_16.bitmaps[:, :, 47] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1700,7 +1700,7 @@ TERMINUS_32_16.bitmap[:, :, 47] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 48] = [ +TERMINUS_32_16.bitmaps[:, :, 48] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1735,7 +1735,7 @@ TERMINUS_32_16.bitmap[:, :, 48] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 49] = [ +TERMINUS_32_16.bitmaps[:, :, 49] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1770,7 +1770,7 @@ TERMINUS_32_16.bitmap[:, :, 49] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 50] = [ +TERMINUS_32_16.bitmaps[:, :, 50] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1805,7 +1805,7 @@ TERMINUS_32_16.bitmap[:, :, 50] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 51] = [ +TERMINUS_32_16.bitmaps[:, :, 51] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1840,7 +1840,7 @@ TERMINUS_32_16.bitmap[:, :, 51] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 52] = [ +TERMINUS_32_16.bitmaps[:, :, 52] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1875,7 +1875,7 @@ TERMINUS_32_16.bitmap[:, :, 52] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 53] = [ +TERMINUS_32_16.bitmaps[:, :, 53] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1910,7 +1910,7 @@ TERMINUS_32_16.bitmap[:, :, 53] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 54] = [ +TERMINUS_32_16.bitmaps[:, :, 54] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1945,7 +1945,7 @@ TERMINUS_32_16.bitmap[:, :, 54] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 55] = [ +TERMINUS_32_16.bitmaps[:, :, 55] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -1980,7 +1980,7 @@ TERMINUS_32_16.bitmap[:, :, 55] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 56] = [ +TERMINUS_32_16.bitmaps[:, :, 56] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2015,7 +2015,7 @@ TERMINUS_32_16.bitmap[:, :, 56] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 57] = [ +TERMINUS_32_16.bitmaps[:, :, 57] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2050,7 +2050,7 @@ TERMINUS_32_16.bitmap[:, :, 57] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 58] = [ +TERMINUS_32_16.bitmaps[:, :, 58] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2085,7 +2085,7 @@ TERMINUS_32_16.bitmap[:, :, 58] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 59] = [ +TERMINUS_32_16.bitmaps[:, :, 59] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2120,7 +2120,7 @@ TERMINUS_32_16.bitmap[:, :, 59] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 60] = [ +TERMINUS_32_16.bitmaps[:, :, 60] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2155,7 +2155,7 @@ TERMINUS_32_16.bitmap[:, :, 60] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 61] = [ +TERMINUS_32_16.bitmaps[:, :, 61] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2190,7 +2190,7 @@ TERMINUS_32_16.bitmap[:, :, 61] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 62] = [ +TERMINUS_32_16.bitmaps[:, :, 62] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2225,7 +2225,7 @@ TERMINUS_32_16.bitmap[:, :, 62] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 63] = [ +TERMINUS_32_16.bitmaps[:, :, 63] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2260,7 +2260,7 @@ TERMINUS_32_16.bitmap[:, :, 63] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 64] = [ +TERMINUS_32_16.bitmaps[:, :, 64] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2295,7 +2295,7 @@ TERMINUS_32_16.bitmap[:, :, 64] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 65] = [ +TERMINUS_32_16.bitmaps[:, :, 65] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 0 0 0 0 0 0 0 0 0 @@ -2330,7 +2330,7 @@ TERMINUS_32_16.bitmap[:, :, 65] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 66] = [ +TERMINUS_32_16.bitmaps[:, :, 66] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2365,7 +2365,7 @@ TERMINUS_32_16.bitmap[:, :, 66] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 67] = [ +TERMINUS_32_16.bitmaps[:, :, 67] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2400,7 +2400,7 @@ TERMINUS_32_16.bitmap[:, :, 67] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 68] = [ +TERMINUS_32_16.bitmaps[:, :, 68] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2435,7 +2435,7 @@ TERMINUS_32_16.bitmap[:, :, 68] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 69] = [ +TERMINUS_32_16.bitmaps[:, :, 69] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2470,7 +2470,7 @@ TERMINUS_32_16.bitmap[:, :, 69] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 70] = [ +TERMINUS_32_16.bitmaps[:, :, 70] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2505,7 +2505,7 @@ TERMINUS_32_16.bitmap[:, :, 70] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 71] = [ +TERMINUS_32_16.bitmaps[:, :, 71] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2540,7 +2540,7 @@ TERMINUS_32_16.bitmap[:, :, 71] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 72] = [ +TERMINUS_32_16.bitmaps[:, :, 72] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2575,7 +2575,7 @@ TERMINUS_32_16.bitmap[:, :, 72] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 73] = [ +TERMINUS_32_16.bitmaps[:, :, 73] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2610,7 +2610,7 @@ TERMINUS_32_16.bitmap[:, :, 73] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 74] = [ +TERMINUS_32_16.bitmaps[:, :, 74] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2645,7 +2645,7 @@ TERMINUS_32_16.bitmap[:, :, 74] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 75] = [ +TERMINUS_32_16.bitmaps[:, :, 75] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2680,7 +2680,7 @@ TERMINUS_32_16.bitmap[:, :, 75] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 76] = [ +TERMINUS_32_16.bitmaps[:, :, 76] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2715,7 +2715,7 @@ TERMINUS_32_16.bitmap[:, :, 76] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 77] = [ +TERMINUS_32_16.bitmaps[:, :, 77] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2750,7 +2750,7 @@ TERMINUS_32_16.bitmap[:, :, 77] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 78] = [ +TERMINUS_32_16.bitmaps[:, :, 78] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2785,7 +2785,7 @@ TERMINUS_32_16.bitmap[:, :, 78] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 79] = [ +TERMINUS_32_16.bitmaps[:, :, 79] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2820,7 +2820,7 @@ TERMINUS_32_16.bitmap[:, :, 79] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 80] = [ +TERMINUS_32_16.bitmaps[:, :, 80] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2855,7 +2855,7 @@ TERMINUS_32_16.bitmap[:, :, 80] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 81] = [ +TERMINUS_32_16.bitmaps[:, :, 81] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2890,7 +2890,7 @@ TERMINUS_32_16.bitmap[:, :, 81] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 82] = [ +TERMINUS_32_16.bitmaps[:, :, 82] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2925,7 +2925,7 @@ TERMINUS_32_16.bitmap[:, :, 82] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 83] = [ +TERMINUS_32_16.bitmaps[:, :, 83] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2960,7 +2960,7 @@ TERMINUS_32_16.bitmap[:, :, 83] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 84] = [ +TERMINUS_32_16.bitmaps[:, :, 84] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -2995,7 +2995,7 @@ TERMINUS_32_16.bitmap[:, :, 84] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 85] = [ +TERMINUS_32_16.bitmaps[:, :, 85] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3030,7 +3030,7 @@ TERMINUS_32_16.bitmap[:, :, 85] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 86] = [ +TERMINUS_32_16.bitmaps[:, :, 86] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3065,7 +3065,7 @@ TERMINUS_32_16.bitmap[:, :, 86] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 87] = [ +TERMINUS_32_16.bitmaps[:, :, 87] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3100,7 +3100,7 @@ TERMINUS_32_16.bitmap[:, :, 87] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 88] = [ +TERMINUS_32_16.bitmaps[:, :, 88] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3135,7 +3135,7 @@ TERMINUS_32_16.bitmap[:, :, 88] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 89] = [ +TERMINUS_32_16.bitmaps[:, :, 89] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3170,7 +3170,7 @@ TERMINUS_32_16.bitmap[:, :, 89] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 90] = [ +TERMINUS_32_16.bitmaps[:, :, 90] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3205,7 +3205,7 @@ TERMINUS_32_16.bitmap[:, :, 90] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 91] = [ +TERMINUS_32_16.bitmaps[:, :, 91] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3240,7 +3240,7 @@ TERMINUS_32_16.bitmap[:, :, 91] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 92] = [ +TERMINUS_32_16.bitmaps[:, :, 92] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3275,7 +3275,7 @@ TERMINUS_32_16.bitmap[:, :, 92] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 93] = [ +TERMINUS_32_16.bitmaps[:, :, 93] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3310,7 +3310,7 @@ TERMINUS_32_16.bitmap[:, :, 93] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 94] = [ +TERMINUS_32_16.bitmaps[:, :, 94] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 @@ -3345,7 +3345,7 @@ TERMINUS_32_16.bitmap[:, :, 94] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ] -TERMINUS_32_16.bitmap[:, :, 95] = [ +TERMINUS_32_16.bitmaps[:, :, 95] = [ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 diff --git a/src/fonts/extract_bitmap.jl b/src/fonts/extract_bitmaps.jl similarity index 100% rename from src/fonts/extract_bitmap.jl rename to src/fonts/extract_bitmaps.jl diff --git a/src/fonts/fonts.jl b/src/fonts/fonts.jl new file mode 100644 index 0000000..22ca14a --- /dev/null +++ b/src/fonts/fonts.jl @@ -0,0 +1,63 @@ +abstract type AbstractFont end + +abstract type AbstractASCIIFont <: AbstractFont end + +include("Terminus_32_16.jl") +include("Terminus_16_8.jl") + +const FONTS = [ + TERMINUS_32_16, + TERMINUS_16_8, + ] + +""" + get_height(font::AbstractFont) + +Return the height of a glyph contained in the monospace font `font` along the i-axis (vertical-axis, 1st-axis). + +See also [`get_width`](@ref). + +# Examples +```julia-repl +julia> get_height(TERMINUS_32_16) +32 + +julia> get_height(TERMINUS_16_8) +16 +``` +""" +get_height(font::Terminus_32_16) = 32 + +""" + get_width(font::AbstractFont) + +Return the width of a glyph contained in the monospace font `font` along the j-axis (horizontal-axis, 2nd-axis). + +See also [`get_width`](@ref). + +# Examples +```julia-repl +julia> get_width(TERMINUS_32_16) +16 + +julia> get_width(TERMINUS_16_8) +8 +``` +""" +get_width(font::Terminus_32_16) = 16 + +get_height(font::Terminus_16_8) = 16 +get_width(font::Terminus_16_8) = 8 + +has_char(font::AbstractASCIIFont, character) = isascii(character) && isprint(character) + +function get_bitmap(font, character) + bitmaps = font.bitmaps + + codepoint_begin = codepoint(' ') + k = codepoint(character) - codepoint_begin + one(codepoint_begin) + + bitmap = @view bitmaps[:, :, k] + + return bitmap +end diff --git a/src/text.jl b/src/text.jl index 91a0e23..76424c6 100644 --- a/src/text.jl +++ b/src/text.jl @@ -103,10 +103,10 @@ function draw!(f::F, image, shape::TextLine, color) where {F <: Function} text = shape.text font = shape.font - bitmap = font.bitmap + bitmaps = font.bitmaps - height = size(bitmap, 1) - width = size(bitmap, 2) + height = size(bitmaps, 1) + width = size(bitmaps, 2) char_position = position