From be59ac06cbcd60895e25f2e7d76846ee3e6a0d92 Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 16 Oct 2018 13:43:57 +0800 Subject: =?UTF-8?q?+=E5=A2=9E=E5=8A=A0=3D=E7=AC=A6=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/Font/TTF.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'src/libjin/Graphics/Font/TTF.cpp') diff --git a/src/libjin/Graphics/Font/TTF.cpp b/src/libjin/Graphics/Font/TTF.cpp index edef8a8..105bcfb 100644 --- a/src/libjin/Graphics/Font/TTF.cpp +++ b/src/libjin/Graphics/Font/TTF.cpp @@ -155,19 +155,19 @@ namespace graphics { } - /*static*/ TTF* TTF::createTTF(TTFData* fontData, unsigned int fontSzie) - { - TTF* ttf; - try - { - ttf = new TTF(fontData, fontSzie); - } - catch (...) - { - return nullptr; - } - return ttf; - } + ///*static*/ TTF* TTF::createTTF(TTFData* fontData, unsigned int fontSzie) + //{ + // TTF* ttf; + // try + // { + // ttf = new TTF(fontData, fontSzie); + // } + // catch (...) + // { + // return nullptr; + // } + // return ttf; + //} TTF::TTF(TTFData* f, unsigned int fontSize) : Font(fontSize) -- cgit v1.1-26-g67d0