瀏覽代碼

BUILD-318

Reinhard Russinger 7 年之前
父節點
當前提交
d194e10253

+ 22 - 0
GfA-buildroot_remove_CJK_Fonts_in_Update.patch

@@ -0,0 +1,22 @@
+diff --git a/UpdateRootfs.sh.in b/UpdateRootfs.sh.in
+index 97d46256b2..81448e77db 100644
+--- a/UpdateRootfs.sh.in
++++ b/UpdateRootfs.sh.in
+@@ -153,11 +153,15 @@ if [ "$DONE" == "0" ]; then
+   echo "Unknown Display Resolution"
+ fi
+ 
+-
+-
++#=== erase opentype fonts
++#=== fonttype library uses huge amount of tim for creating cache
++#=== so remove CJK Fonts
++rm -rf /usr/share/fonts/opentype
++sync
+ 
+ #=================
+ echo "Update Done, pls. reboot System"
+ umount /mnt
+ echo "."
+ exit 0
++

+ 1 - 0
MakeBuildrootEnv.sh

@@ -21,6 +21,7 @@ patch -p1 < ../GfA/GfA-buildroot_SetRightDisplayResolution_OnUpdate.patch
 patch -p1 < ../GfA/GfA-buildroot_SetRightDisplayResolution_OnUpdate_add5_7inch_display.patch
 patch -p1 < ../GfA/GfA-buildroot-add-plugins-libraries-change-crosscompile-command.patch
 patch -p1 < ../GfA/GfA-buildroot-CrossCompile_export_CC_and_CXX.patch
+patch -p1 < ../GfA/GfA-buildroot_remove_CJK_Fonts_in_Update.patch
 #
 chmod a+x *.sh
 cp ../GfA/configs/* ./configs

+ 1 - 1
board/GfA/Display001/BUILD

@@ -1 +1 @@
-380
+381

二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Black.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Bold.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-DemiLight.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Light.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Medium.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Regular.ttc


二進制
board/GfA/Display001/rootfs/usr/share/fonts/opentype/noto/NotoSansCJK-Thin.ttc