[kandinsky] Remove obsolete values

This commit is contained in:
Léa Saviot
2019-01-17 17:14:34 +01:00
committed by Émilie Feral
parent 14426eea14
commit 9d68560a32
3 changed files with 0 additions and 15 deletions

View File

@@ -1,3 +0,0 @@
#include "unicode_for_symbol.h"
wchar_t codePointForSymbol[NUMBER_OF_SYMBOLS] = {0x222b, 0x0078, 0x0305, 0x0079, 0x0305, 0x0393, 0x0394, 0x03a3, 0x03b8, 0x03bb, 0x03bc, 0x03c0, 0x03c3, 0x0456, 0x1D07, 0x2032, 0x212e, 0x2192, 0x221A, 0x2264, 0x2265, 0x00D7, 0x00B7, 0x2248, 0x00B0};

View File

@@ -1,10 +0,0 @@
#ifndef KANDINSKY_FONT_UNICODE_H
#define KANDINSKY_FONT_UNICODE_H
#include <stddef.h>
#define NUMBER_OF_SYMBOLS 25
extern wchar_t codePointForSymbol[NUMBER_OF_SYMBOLS];
#endif

View File

@@ -87,8 +87,6 @@ private:
KDSize m_glyphSize;
const uint16_t * m_glyphDataOffset;
const uint8_t * m_data;
static constexpr uint8_t k_magicCharOffsetValue = 0x20; // FIXME: Value from kandinsky/fonts/rasterizer.c (CHARACTER_RANGE_START). 0x20 because we do not want have a glyph for the first 20 ASCII characters
static constexpr uint8_t k_numberOfGlyphs = 120; // FIXME: Value from kandinsky/fonts/rasterizer.c (GLYPH_COUNT)
};
#endif