From 9d68560a32d8e4dee063cf96f32f7089a98d1c00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A9a=20Saviot?= Date: Thu, 17 Jan 2019 17:14:34 +0100 Subject: [PATCH] [kandinsky] Remove obsolete values --- kandinsky/fonts/unicode_for_symbol.c | 3 --- kandinsky/fonts/unicode_for_symbol.h | 10 ---------- kandinsky/include/kandinsky/font.h | 2 -- 3 files changed, 15 deletions(-) delete mode 100644 kandinsky/fonts/unicode_for_symbol.c delete mode 100644 kandinsky/fonts/unicode_for_symbol.h diff --git a/kandinsky/fonts/unicode_for_symbol.c b/kandinsky/fonts/unicode_for_symbol.c deleted file mode 100644 index 9a1ad769e..000000000 --- a/kandinsky/fonts/unicode_for_symbol.c +++ /dev/null @@ -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}; diff --git a/kandinsky/fonts/unicode_for_symbol.h b/kandinsky/fonts/unicode_for_symbol.h deleted file mode 100644 index 1f1476c9d..000000000 --- a/kandinsky/fonts/unicode_for_symbol.h +++ /dev/null @@ -1,10 +0,0 @@ -#ifndef KANDINSKY_FONT_UNICODE_H -#define KANDINSKY_FONT_UNICODE_H - -#include - -#define NUMBER_OF_SYMBOLS 25 - -extern wchar_t codePointForSymbol[NUMBER_OF_SYMBOLS]; - -#endif diff --git a/kandinsky/include/kandinsky/font.h b/kandinsky/include/kandinsky/font.h index 4af33758c..1e5c296be 100644 --- a/kandinsky/include/kandinsky/font.h +++ b/kandinsky/include/kandinsky/font.h @@ -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