← Back to team overview

ubuntu-sdk-team team mailing list archive

[Merge] ~gary-wzl77/ubuntu-app-platform:cjk_font into ubuntu-app-platform:master

 

Gary.Wang has proposed merging ~gary-wzl77/ubuntu-app-platform:cjk_font into ubuntu-app-platform:master.

Commit message:
Add a droid derived Sans-Seri style CJK font to make Chinese/Japanese/Korean characters display correctly.

Requested reviews:
  Ubuntu SDK team (ubuntu-sdk-team)
Related bugs:
  Bug #1645611 in Ubuntu Calendar App: "rendering issue for Chinese Characters with ubuntu-app-platform plugin snap"
  https://bugs.launchpad.net/ubuntu-calendar-app/+bug/1645611

For more details, see:
https://code.launchpad.net/~gary-wzl77/ubuntu-app-platform/+git/ubuntu-app-platform/+merge/312021

Fixed lp:1645611
Add a droid derived Sans-Seri style CJK font to make Chinese/Japanese/Korean characters display correctly.
We add the CJK font in stage-package in ubuntu-app-platform so that we don't need to modify yaml files for each app. At the same time, app package size will remain the same without growing if CJK font is snapped in ubuntu-app-platform, instead of each app. 
-- 
Your team Ubuntu SDK team is requested to review the proposed merge of ~gary-wzl77/ubuntu-app-platform:cjk_font into ubuntu-app-platform:master.
diff --git a/snapcraft.yaml b/snapcraft.yaml
index 534fe16..ea14a3a 100644
--- a/snapcraft.yaml
+++ b/snapcraft.yaml
@@ -96,6 +96,8 @@ parts:
         # Needed by telegram.
         - qml-module-ubuntu-connectivity
         - qtdeclarative5-ubuntu-contacts0.1
+        # Add a droid derived Sans-Seri style CJK font
+        - ttf-wqy-microhei
 
     snap:
         - etc

Follow ups