I am creating a .net application with windows. I’m thinking about the following problem: if I specify the fonts in my application that are available only in Vista and Office 07, what happens when the application tries to run on a machine without them?
I believe that the system will not be able to return to the font of this family, since they are initialized internally using strings (for example, "Segoe UI").
What is the best way to follow so that I can still specify the fonts through the form designer and not worry about things like this violation?
, System.Drawing.SystemFonts.MessageBoxFont, Segoe UI, Tahoma, MS Sans Serif . --- WPF , Windows Forms - . , , , , .
System.Drawing.SystemFonts.MessageBoxFont
, , , reset Segoe ( Vista).
, WPF:).
, Tahoma XP Segoe UI Vista . Segoe UI XP, -, .
, , .
, , - . Microsoft "Microsoft Virtual PC". , , "" . , , . winforms, !
, ! JFV
, : . - , , . ( ) , , .
, , EULA. Office 2007 , ( ) Segoe UI: Vista.
, XP vs Vista. XP, Tahoma Trebuchet MS. Vista, .
First check the EULA in both Office and Vista to make sure the fonts are not sacred, but you can include these fonts in your installer package and install them.
By disallowing redistribution of fonts in your installer, you may have to first check for the specified fonts. If they are not there, ask the application to select an alternative font from the static list of alternative options.
Source: https://habr.com/ru/post/1698986/More articles:detect JSON loaded by browser - jsonCollection Map - javaDBus-Server in Java? - javaДобавьте еще один стиль CSS в дочерние элементы, которые также являются родителями - jqueryLastAccess Error - c #https://translate.googleusercontent.com/translate_c?depth=1&pto=aue&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1698987/any-disadvantages-to-using-spring-to-separate-tests-and-data&usg=ALkJrhho2i9jZPC1SLs7fWTeOYudqQQYAAHow can I do nested Join, Add and Group in LINQ? - c #Can I get line numbers for stack trace on .Net CF 2.0 or 3.5 - .netWhy aren't all .NET applications using MySQL or DAO, which makes it possible to use MySQL? - databaseHelp with CredEnumerate - securityAll Articles