// Copyright 2015 by Joseph Forgion // This file is part of VCC (Virtual Color Computer). // // VCC (Virtual Color Computer) is free software: you can redistribute it and/or // modify it under the terms of the GNU General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // VCC (Virtual Color Computer) is distributed in the hope that it will be // useful, but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // // You should have received a copy of the GNU General Public License along // with VCC. If not, see . // // 2025/04/10 - Craig Allsop - Add OpenGL rendering. // #include "OpenGLFontConsola.h" #if USE_OPENGL // // This file is generated using following options: // // msdf-atlas-gen.exe -font consola.ttf -charset set.txt -type softmask -size 24 -outerpxpadding 2 -format bmp -imageout consola.bmp -yorigin top -csv consola.csv // #pragma warning(disable : 4305) // ignore truncation of double to float, its ok. namespace VCC { OpenGLFontGlyph OpenGLFontConsola[] = { 0.5498046875,0,-0,0,-0,0,184,0,184, 0.5498046875,0.16927083333333331,-0.72916666666666663,0.37760416666666663,0.0625,2.5,32.5,7.5,51.5, 0.5498046875,0.087402343749999972,-0.72916666666666663,0.46240234374999994,-0.4375,96.5,159.5,105.5,166.5, 0.5498046875,-0.016764322916666657,-0.6875,0.56656901041666674,0.020833333333333343,81.5,77.5,95.5,94.5, 0.5498046875,0.022216796875,-0.77083333333333326,0.522216796875,0.14583333333333334,115.5,2.5,127.5,24.5, 0.5498046875,-0.016764322916666671,-0.72916666666666663,0.56656901041666663,0.0625,11.5,32.5,25.5,51.5, 0.5498046875,-0.0028483072916666713,-0.72916666666666663,0.58048502604166663,0.0625,29.5,32.5,43.5,51.5, 0.5498046875,0.19181315104166666,-0.72916666666666663,0.35847981770833331,-0.4375,109.5,159.5,113.5,166.5, 0.5498046875,0.11800130208333331,-0.77083333333333326,0.45133463541666669,0.22916666666666666,9.5,2.5,17.5,26.5, 0.5498046875,0.098470052083333301,-0.77083333333333326,0.43180338541666663,0.22916666666666666,21.5,2.5,29.5,26.5, 0.5498046875,0.045979817708333294,-0.72916666666666663,0.50431315104166663,-0.22916666666666666,49.5,159.5,60.5,171.5, 0.5498046875,0.0040690104166666574,-0.5625,0.54573567708333326,0.020833333333333343,44.5,141.5,57.5,155.5, 0.5498046875,0.08829752604166663,-0.18749999999999994,0.37996419270833326,0.22916666666666666,174.5,55.5,181.5,65.5, 0.5498046875,0.087402343749999972,-0.35416666666666663,0.46240234374999994,-0.1875,2.5,176.5,11.5,180.5, 0.5498046875,0.16682942708333331,-0.18749999999999997,0.37516276041666663,0.0625,117.5,159.5,122.5,165.5, 0.5498046875,0.034993489583333301,-0.72916666666666663,0.49332682291666663,0.14583333333333334,149.5,2.5,160.5,23.5, 0.5498046875,0.0040690104166666574,-0.6875,0.54573567708333326,0.0625,19.5,55.5,32.5,73.5, 0.5498046875,0.0263671875,-0.6875,0.5263671875,0.020833333333333343,19.5,120.5,31.5,137.5, 0.5498046875,0.031982421875,-0.6875,0.531982421875,0.020833333333333343,69.5,120.5,81.5,137.5, 0.5498046875,0.050862630208333329,-0.6875,0.50919596354166663,0.0625,51.5,55.5,62.5,73.5, 0.5498046875,-0.019205729166666657,-0.6875,0.56412760416666674,0.020833333333333343,85.5,120.5,99.5,137.5, 0.5498046875,0.052327473958333294,-0.6875,0.51066080729166663,0.0625,66.5,55.5,77.5,73.5, 0.5498046875,0.030029296875,-0.6875,0.530029296875,0.0625,81.5,55.5,93.5,73.5, 0.5498046875,0.02294921875,-0.6875,0.52294921875,0.020833333333333343,103.5,120.5,115.5,137.5, 0.5498046875,0.025146484375,-0.6875,0.525146484375,0.0625,97.5,55.5,109.5,73.5, 0.5498046875,0.018798828125,-0.6875,0.518798828125,0.020833333333333343,119.5,120.5,131.5,137.5, 0.5498046875,0.17097981770833331,-0.52083333333333337,0.37931315104166663,0.0625,2.5,141.5,7.5,155.5, 0.5498046875,0.09415690104166663,-0.52083333333333326,0.38582356770833326,0.22916666666666666,113.5,55.5,120.5,73.5, 0.5498046875,0.028401692708333287,-0.5625,0.48673502604166663,0.0625,150.5,120.5,161.5,135.5, 0.5498046875,0.02490234375,-0.4375,0.52490234375,-0.10416666666666666,80.5,159.5,92.5,167.5, 0.5498046875,0.063313802083333343,-0.5625,0.52164713541666663,0.0625,135.5,120.5,146.5,135.5, 0.5498046875,0.11157226562499994,-0.72916666666666663,0.48657226562499994,0.0625,47.5,32.5,56.5,51.5, 0.5498046875,-0.017751982717803011,-0.72916666666666674,0.56558135061553028,0.22916666666666666,61.5,2.5,75.5,25.5, 0.5498046875,-0.016764322916666671,-0.6875,0.56656901041666663,0.020833333333333343,51.5,120.5,65.5,137.5, 0.5498046875,0.03662109375,-0.6875,0.53662109375,0.020833333333333343,35.5,120.5,47.5,137.5, 0.5498046875,0.015380859375,-0.6875,0.515380859375,0.0625,141.5,55.5,153.5,73.5, 0.5498046875,0.012858072916666657,-0.6875,0.55452473958333326,0.020833333333333343,2.5,120.5,15.5,137.5, 0.5498046875,0.07120768229166663,-0.6875,0.48787434895833326,0.020833333333333343,164.5,99.5,174.5,116.5, 0.5498046875,0.07169596354166663,-0.6875,0.48836263020833326,0.020833333333333343,150.5,99.5,160.5,116.5, 0.5498046875,-0.0076497395833333426,-0.6875,0.53401692708333326,0.0625,157.5,55.5,170.5,73.5, 0.5498046875,0.025146484375,-0.6875,0.525146484375,0.020833333333333343,118.5,99.5,130.5,116.5, 0.5498046875,0.045735677083333294,-0.6875,0.50406901041666663,0.020833333333333343,103.5,99.5,114.5,116.5, 0.5498046875,0.05021158854166663,-0.6875,0.46687825520833326,0.0625,2.5,77.5,12.5,95.5, 0.5498046875,0.043701171875,-0.6875,0.543701171875,0.020833333333333343,68.5,99.5,80.5,116.5, 0.5498046875,0.089029947916666671,-0.6875,0.50569661458333326,0.020833333333333343,54.5,99.5,64.5,116.5, 0.5498046875,-0.016764322916666657,-0.6875,0.56656901041666674,0.020833333333333343,36.5,99.5,50.5,116.5, 0.5498046875,0.025146484375,-0.6875,0.525146484375,0.020833333333333343,20.5,99.5,32.5,116.5, 0.5498046875,0.0045572916666666713,-0.6875,0.54622395833333326,0.0625,16.5,77.5,29.5,95.5, 0.5498046875,0.03662109375,-0.6875,0.53662109375,0.020833333333333343,169.5,77.5,181.5,94.5, 0.5498046875,-0.0028483072916666713,-0.6875,0.58048502604166663,0.22916666666666666,131.5,2.5,145.5,24.5, 0.5498046875,0.048095703125,-0.6875,0.548095703125,0.020833333333333343,135.5,77.5,147.5,94.5, 0.5498046875,0.0205078125,-0.6875,0.5205078125,0.0625,49.5,77.5,61.5,95.5, 0.5498046875,0.0040690104166666574,-0.6875,0.54573567708333326,0.020833333333333343,99.5,77.5,112.5,94.5, 0.5498046875,0.025146484375,-0.6875,0.525146484375,0.0625,65.5,77.5,77.5,95.5, 0.5498046875,-0.03759765625,-0.6875,0.58740234375,0.020833333333333343,116.5,77.5,131.5,94.5, 0.5498046875,-0.016764322916666657,-0.6875,0.56656901041666674,0.020833333333333343,151.5,77.5,165.5,94.5, 0.5498046875,-0.018229166666666671,-0.6875,0.56510416666666663,0.020833333333333343,2.5,99.5,16.5,116.5, 0.5498046875,-0.03759765625,-0.6875,0.58740234375,0.020833333333333343,84.5,99.5,99.5,116.5, 0.5498046875,0.024658203125,-0.6875,0.524658203125,0.020833333333333343,134.5,99.5,146.5,116.5, 0.5498046875,0.14298502604166666,-0.72916666666666674,0.43465169270833331,0.22916666666666666,79.5,2.5,86.5,25.5, 0.5498046875,0.056966145833333329,-0.72916666666666663,0.51529947916666663,0.14583333333333334,164.5,2.5,175.5,23.5, 0.5498046875,0.11515299479166663,-0.72916666666666674,0.40681966145833326,0.22916666666666666,90.5,2.5,97.5,25.5, 0.5498046875,0.027099609375,-0.68749999999999989,0.527099609375,-0.27083333333333331,64.5,159.5,76.5,169.5, 0.5498046875,-0.03759765625,0.10416666666666666,0.58740234375,0.22916666666666666,15.5,176.5,30.5,179.5, 0.5498046875,0.05973307291666663,-0.72916666666666674,0.35139973958333326,-0.52083333333333337,173.5,141.5,180.5,146.5, 0.5498046875,0.037923177083333301,-0.52083333333333337,0.49625651041666663,0.0625,61.5,141.5,72.5,155.5, 0.5498046875,0.03759765625,-0.72916666666666663,0.53759765625,0.0625,60.5,32.5,72.5,51.5, 0.5498046875,0.038899739583333287,-0.52083333333333337,0.49723307291666663,0.0625,91.5,141.5,102.5,155.5, 0.5498046875,0.032063802083333301,-0.72916666666666663,0.49039713541666663,0.0625,76.5,32.5,87.5,51.5, 0.5498046875,0.024658203125,-0.52083333333333337,0.524658203125,0.0625,11.5,141.5,23.5,155.5, 0.5498046875,0.0052897135416666574,-0.72916666666666663,0.54695638020833326,0.020833333333333343,2.5,55.5,15.5,73.5, 0.5498046875,0.0069986979166666574,-0.52083333333333326,0.54866536458333326,0.22916666666666666,168.5,32.5,181.5,50.5, 0.5498046875,0.045979817708333294,-0.72916666666666663,0.50431315104166663,0.020833333333333343,153.5,32.5,164.5,50.5, 0.5498046875,0.051350911458333294,-0.72916666666666663,0.50968424479166663,0.020833333333333343,138.5,32.5,149.5,50.5, 0.5498046875,0.03653971354166663,-0.72916666666666674,0.45320638020833326,0.22916666666666666,101.5,2.5,111.5,25.5, 0.5498046875,0.053955078125,-0.72916666666666663,0.553955078125,0.020833333333333343,106.5,32.5,118.5,50.5, 0.5498046875,0.051350911458333294,-0.72916666666666663,0.50968424479166663,0.020833333333333343,36.5,55.5,47.5,73.5, 0.5498046875,0.0040690104166666574,-0.52083333333333326,0.54573567708333326,0.020833333333333343,156.5,141.5,169.5,154.5, 0.5498046875,0.045979817708333294,-0.52083333333333326,0.50431315104166663,0.020833333333333343,141.5,141.5,152.5,154.5, 0.5498046875,0.0040690104166666574,-0.52083333333333337,0.54573567708333326,0.0625,27.5,141.5,40.5,155.5, 0.5498046875,0.03759765625,-0.52083333333333326,0.53759765625,0.22916666666666666,122.5,32.5,134.5,50.5, 0.5498046875,0.032063802083333301,-0.52083333333333326,0.49039713541666663,0.22916666666666666,91.5,32.5,102.5,50.5, 0.5498046875,0.070494903915229876,-0.52083333333333326,0.5288282372485632,0.020833333333333343,19.5,159.5,30.5,172.5, 0.5498046875,0.048421223958333294,-0.52083333333333337,0.50675455729166663,0.0625,76.5,141.5,87.5,155.5, 0.5498046875,0.0019531249999999584,-0.6875,0.50195312499999989,0.0625,33.5,77.5,45.5,95.5, 0.5498046875,0.045979817708333294,-0.52083333333333337,0.50431315104166663,0.0625,165.5,120.5,176.5,134.5, 0.5498046875,0.0023600260416666713,-0.52083333333333326,0.54402669270833326,0.020833333333333343,106.5,141.5,119.5,154.5, 0.5498046875,-0.016520182291666657,-0.52083333333333326,0.56681315104166674,0.020833333333333343,123.5,141.5,137.5,154.5, 0.5498046875,0.0062662760416666713,-0.52083333333333326,0.54793294270833326,0.020833333333333343,2.5,159.5,15.5,172.5, 0.5498046875,0.00065104166666667129,-0.52083333333333326,0.54231770833333326,0.22916666666666666,124.5,55.5,137.5,73.5, 0.5498046875,0.048421223958333294,-0.52083333333333326,0.50675455729166663,0.020833333333333343,34.5,159.5,45.5,172.5, 0.5498046875,0.05021158854166663,-0.72916666666666674,0.46687825520833326,0.22916666666666666,47.5,2.5,57.5,25.5, 0.5498046875,0.21240234374999997,-0.85416666666666674,0.33740234375,0.22916666666666666,2.5,2.5,5.5,28.5, 0.5498046875,0.08317057291666663,-0.72916666666666674,0.49983723958333326,0.22916666666666666,33.5,2.5,43.5,25.5, 0.5498046875,0.0042753163834065161,-0.39583333333333331,0.54594198305007313,-0.14583333333333331,126.5,159.5,139.5,165.5, }; } #endif // USE_OPENGL