1 // GENERATED FILE - DO NOT EDIT. 2 // Generated by gen_overlay_fonts.py using overlay/DejaVuSansMono-Bold.ttf. 3 // 4 // Copyright 2019 The ANGLE Project Authors. All rights reserved. 5 // Use of this source code is governed by a BSD-style license that can be 6 // found in the LICENSE file. 7 // 8 // Overlay_font_autogen.h: 9 // Autogenerated overlay font data. 10 11 #include "libANGLE/Overlay.h" 12 13 namespace gl 14 { 15 namespace overlay 16 { 17 constexpr int kFontCount = 3; 18 constexpr int kFontGlyphWidths[kFontCount] = {22, 14, 8}; 19 constexpr int kFontGlyphHeights[kFontCount] = {43, 28, 17}; 20 constexpr int kFontCharactersPerRow = 32; 21 constexpr int kFontCharactersPerCol = 3; 22 constexpr int kFontCharacters = kFontCharactersPerRow * kFontCharactersPerCol; 23 constexpr int kFontImageWidth = 22 * kFontCharactersPerRow; 24 constexpr int kFontImageHeight = 43 * kFontCharactersPerCol; 25 constexpr int kFontLayerLarge = 0; 26 constexpr int kFontLayerMedium = 1; 27 constexpr int kFontLayerSmall = 2; 28 } // namespace overlay 29 } // namespace gl 30