Currently, using the below sample code,
Rectangle {
property string myText: "The 0137iT quick brown fox jumps over the lazy
dog."
width: 320; height: 480
color: "steelblue"
FontLoader { id: localFont; source: "/usr/share/fonts/ttf/NotoSansCJK.ttc" }
Column {
anchors { fill: parent; leftMargin: 10; rightMargin: 10; topMargin: 10 }
spacing: 15
Text {
text: myText
color: "lightsteelblue"
width: parent.width
wrapMode: Text.WordWrap
font { family: localFont.name; pixelSize: 20; bold:
false;capitalization: Font.Capitalize }
}
Text {
text: myText
color: "lightsteelblue"
width: parent.width
wrapMode: Text.WordWrap
font { family: localFont.name; pixelSize: 20; bold:
true;capitalization: Font.Capitalize }
}
}
}
Download the font (NotoSansCJK.ttc) from the below link,
https://noto-website-2.storage.googleapis.com/pkgs/NotoSansCJK.ttc.zip
Issue is that when tried to bold the text, "i" is not getting bold as seen in the attached snap shot.
Freetype what I am using is old one with latest freetype issue was resolved .