fonts

Font stretching in QML

旧城冷巷雨未停 提交于 2021-02-10 18:55:12
问题 We are converting some older QT widget code to use QML and I cannot find the equivalent property for the QFont::setStretch() operation. The QML Font page shows only family, bold, italic, underline, pointSize, pixelSize, weight, overline, strikeout, capitalization, letterSpacing, wordSpacing, kerning, preferShaping and hintingPreference. This font selection is being done within a Text object, along the lines of: Text { font.family: "LiberationSans" font.pixelSize: 178 font.weight: 80 //font

Font stretching in QML

夙愿已清 提交于 2021-02-10 18:50:43
问题 We are converting some older QT widget code to use QML and I cannot find the equivalent property for the QFont::setStretch() operation. The QML Font page shows only family, bold, italic, underline, pointSize, pixelSize, weight, overline, strikeout, capitalization, letterSpacing, wordSpacing, kerning, preferShaping and hintingPreference. This font selection is being done within a Text object, along the lines of: Text { font.family: "LiberationSans" font.pixelSize: 178 font.weight: 80 //font

How to set a “backup” font

孤街浪徒 提交于 2021-02-10 15:29:10
问题 I'm using Java 10, and swing. I'm using the DejaVu Sans Mono font, because I think it looks nice. However, it has very poor support of CJK characters, so to maximize support, I thought of using Noto Sans CJK as a backup. Although I could use Noto Sans for Latin characters too, I don't quite like their Latin characters too much. Although this seems like a trivial question, I can't seem to find out how to do it. Even if you can't answer, I appreciate pointers. TL;DR: My Problem I can't display

Got a crash related to libminikin.so not sure why this would happen

非 Y 不嫁゛ 提交于 2021-02-10 15:13:24
问题 The entire stacktrace on the play console is 15 Jun 19:09 on app version 26 Asus ZenFone 2 Laser (ZE500KL) (ASUS_Z00E_2), 2048MB RAM, Android 6.0 Report 1 of 3 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.bariski.cryptoniffler <<< backtrace: #00 pc 0000000000008d24 /system/lib64/libminikin.so (_ZNK7android10FontFamily15getClosestMatchENS_9FontStyleE) #01 pc 0000000000007e1c /system/lib64/libminikin.so (_ZN7android14FontCollection13baseFontFakedENS

Got a crash related to libminikin.so not sure why this would happen

拜拜、爱过 提交于 2021-02-10 15:13:14
问题 The entire stacktrace on the play console is 15 Jun 19:09 on app version 26 Asus ZenFone 2 Laser (ZE500KL) (ASUS_Z00E_2), 2048MB RAM, Android 6.0 Report 1 of 3 *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** pid: 0, tid: 0 >>> com.bariski.cryptoniffler <<< backtrace: #00 pc 0000000000008d24 /system/lib64/libminikin.so (_ZNK7android10FontFamily15getClosestMatchENS_9FontStyleE) #01 pc 0000000000007e1c /system/lib64/libminikin.so (_ZN7android14FontCollection13baseFontFakedENS

Word VBA: find line and replace font

半城伤御伤魂 提交于 2021-02-10 14:24:34
问题 I've written a VBA Word Macro that read a .txt File, copy it and paste it in a Word document setting a new font. All is working fine! Now I would like to highlight some specific lines with bold + italic font, but i cannot figure out a working solution. The specific lines begins with a specific word (for example Simulation Nr.xxx ) or they begin with some words but then they have a very long series of blank spaces (for example Turbine ). How can i solve the problem? P.s.: here the working code

Word VBA: find line and replace font

时光毁灭记忆、已成空白 提交于 2021-02-10 14:23:09
问题 I've written a VBA Word Macro that read a .txt File, copy it and paste it in a Word document setting a new font. All is working fine! Now I would like to highlight some specific lines with bold + italic font, but i cannot figure out a working solution. The specific lines begins with a specific word (for example Simulation Nr.xxx ) or they begin with some words but then they have a very long series of blank spaces (for example Turbine ). How can i solve the problem? P.s.: here the working code

How do I use custom font with a set size in flutter/dart?

↘锁芯ラ 提交于 2021-02-10 12:15:58
问题 I'm trying to use color , fontWeight and fontFamily with style: style.copyWith , the custom font I'm trying to use is Vonique , I've imported it like so into pubspec.yaml fonts: - family: Vonique fonts: - assets: fonts/Vonique-64-Bold-Italic.ttf - assets: fonts/Vonique-64-Italic.ttf - assets: fonts/Vonique-64-Bold.ttf - assets: fonts/Vonique-64.ttf Is this the correct way to import it? I've tried it both was with '' and without '', still doesn't change the text font. Text('Login', style:

How do I use custom font with a set size in flutter/dart?

耗尽温柔 提交于 2021-02-10 12:12:00
问题 I'm trying to use color , fontWeight and fontFamily with style: style.copyWith , the custom font I'm trying to use is Vonique , I've imported it like so into pubspec.yaml fonts: - family: Vonique fonts: - assets: fonts/Vonique-64-Bold-Italic.ttf - assets: fonts/Vonique-64-Italic.ttf - assets: fonts/Vonique-64-Bold.ttf - assets: fonts/Vonique-64.ttf Is this the correct way to import it? I've tried it both was with '' and without '', still doesn't change the text font. Text('Login', style:

How do I use custom font with a set size in flutter/dart?

时光总嘲笑我的痴心妄想 提交于 2021-02-10 12:10:04
问题 I'm trying to use color , fontWeight and fontFamily with style: style.copyWith , the custom font I'm trying to use is Vonique , I've imported it like so into pubspec.yaml fonts: - family: Vonique fonts: - assets: fonts/Vonique-64-Bold-Italic.ttf - assets: fonts/Vonique-64-Italic.ttf - assets: fonts/Vonique-64-Bold.ttf - assets: fonts/Vonique-64.ttf Is this the correct way to import it? I've tried it both was with '' and without '', still doesn't change the text font. Text('Login', style: