diff options
| author | [email protected] <[email protected]> | 2012-11-26 02:42:52 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2012-11-26 02:42:52 +0000 |
| commit | 62447b2cd84b529f7dbf6712c29d7ac4ff0c1e12 (patch) | |
| tree | 399aa1bbc0d4c632d7dc2804ed76e5c62b5cec27 /examples/gui/SConscript | |
| parent | 9789907ca1b4c43ee34fac6e94e5a48f76aaca3c (diff) | |
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
Diffstat (limited to 'examples/gui/SConscript')
| -rw-r--r-- | examples/gui/SConscript | 10 |
1 files changed, 9 insertions, 1 deletions
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']) |
