From 62447b2cd84b529f7dbf6712c29d7ac4ff0c1e12 Mon Sep 17 00:00:00 2001 From: "dzzxzz@gmail.com" Date: Mon, 26 Nov 2012 02:42:52 +0000 Subject: sync RTGUI with github(https://github.com/RT-Thread/RTGUI) 9ae08379da5b698d6facc40bd0415de2e254ae9c As always, full log is in GitHub. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2449 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- examples/gui/SConscript | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'examples/gui/SConscript') diff --git a/examples/gui/SConscript b/examples/gui/SConscript index 85b1e65017..b4d2e952f8 100644 --- a/examples/gui/SConscript +++ b/examples/gui/SConscript @@ -1,4 +1,5 @@ from building import * +import os ''' demo_view_dc_buffer.c @@ -44,7 +45,14 @@ demo_plot.c mywidget.c """) - +if GetDepend('RTGUI_USING_FONT_COMPACT'): + import stract_cjk as sf + fl1 = sf.get_font_lib('hz16') + fl2 = sf.get_font_lib('hz12') + cwd = GetCurrentDir() + for i in src: + fl1.push_file(open(os.path.join(cwd, i), 'r')) + fl2.push_file(open(os.path.join(cwd, i), 'r')) group = DefineGroup('gui_examples', src, depend = ['RT_USING_RTGUI']) -- cgit v1.3.1