dotnet / dotnet/dotnet-api-docs
AutoScaleMode with Font is described that it shrinks/grows, but font size is absolute
- Lingua principale
- C#
- Stelle
- 949
- Fork
- 1.7k
- Merge medio
- 2g 19h
- PR unite (30g)
- 52
Descrizione
### Type of issue
Other (describe below)
### Description
In this paragraph:
> Scaling by [Font](https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.autoscalemode?view=windowsdesktop-8.0#system-windows-forms-autoscalemode-font) is useful if you want to have a control or form stretch or shrink according to the size of the fonts in the operating system
, the text describes that controls will shrink/grow depending on font availability in the system, but forms are designed with a specific font type and absolute size, such as 10pt, which means they cannot shrink/grow based on font availability.
If this intends to describe font substitutions, it should say so, but only when the primary intention of this setting is described. If this intends to describe font size changes according to accessibility (Ease of Use), then again, it should describe the primary use and then add that the font size will grow/shrink according to accessibility settings in Windows.
Outside of these contexts, font size should be absolute and should compute to 1/72 of an inch on the screen, regardless of anything else.
Lastly, if Windows interprets pixels in the way that CSS does (arm's length, etc - not actual pixels), that should fall into the DPI settings description, but in case it affects the Font setting as well by changing that dot (pixel) size, this page should call this out explicitly.
Confusion in this area is incredibly widespread and many good apps are illegible because they are designed on different displays, so developers use 8pt fonts that come out as tiniest text possible to 4K displays. Describing this functionality in an unambiguous way will be really helpful.
### Page URL
https://learn.microsoft.com/en-us/dotnet/api/system.windows.forms.containercontrol.autoscalemode?view=windowsdesktop-8.0
### Content source URL
https://github.com/dotnet/dotnet-api-docs/blob/main/xml/System.Windows.Forms/ContainerControl.xml
### Document Version Independent Id
d3ddf0cc-eca8-4a6f-fcc4-ab6885666d17
### Article author
@dotnet-bot
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia in xml/System.Windows.Forms/ContainerControl.xml, al paragrafo relativo a AutoScaleMode Font, e confrontane la formulazione con la pagina API collegata. Determina quale comportamento intende descrivere la documentazione, quindi rivedi il paragrafo in modo che la sostituzione dei caratteri, il ridimensionamento correlato all'accessibilità e il comportamento DPI non vengano confusi; la pagina deve spiegare chiaramente cosa fa la scalabilità Font.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- desktop, documentation
- Tipo di issue
- Documentazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100