QString msyh = qfontdatabase::applicationfontfamilies (Fontid). Pass the font ID to applicationfontfamilies and get a qstringlist, where the first element is the newly added font family Int fontid = Qfontdatabase::addapplicationfont ("./res/msyh.ttf") IntegrationError: Invalid style configuration value: MS Shell Dlg 32. I am running my app on Japanese system and want windows to use 'MS Shell Dlg 2' in my property sheet. Pass the font file name to Addapplicationfont to get the font ID It was, however, retained in PC DOS through PC DOS 2000. It was discontinued in MS-DOS v6.0, but remained part of the 'Supplemental Disk' until v6.22 (the last independent retail version of MS-DOS). In addition, the font can be taken as a resource file, and then used, for example, I think Microsoft Black is good: DOS Shell is a file manager, debuted in MS-DOS and IBM PC DOS v4.0 (June 1988). Qfont font tfamily ("MS Shell Dlg 2"// Tahoma Arial qapp- >setfont (font) However, it is best to specify the display font for the software itself so that it can be controlled so that the global font is set: The default font under WIN10 is actually the Segoe UI, which causes different versions of Windows to appear inconsistent, so you can modify the default font for Windows (which takes effect after a reboot):
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |