Created
July 29, 2014 14:37
-
-
Save chihchun/6f3fd6b10477f073610b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import QtQuick 2.0 | |
Rectangle { | |
id: page | |
width: 600; height: 500 | |
color: "lightgray" | |
FontLoader { id: testFont; source: "/usr/share/fonts/truetype/droid/DroidSansFallbackFull.ttf" } | |
Text { | |
font.family: testFont.name | |
font.pointSize: 26 | |
text: qsTr(" | |
Korea_안녕 라인친구들 | |
English_hello line friends | |
Turky_hat arkadaşlar merhaba | |
Russia_привет линия друзья | |
Japan_ラインの友人こんにちは | |
China_你好线的朋友 | |
Taiwan_你好線的朋友 | |
Thai_สวัสดีเพื่อนสาย") | |
anchors.centerIn: parent | |
// renderType: Text.QtRendering | |
renderType: Text.NativeRendering | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment