dotnet / dotnet/winforms

TreeView and ComboBox do not correctly display

Open
#7,282 5 comments 0 reactions 0 assignees View on GitHub
tenet-localization
Dominant language
C#
Stars
4.9k
Forks
1.1k
Avg merge
20h 23m
Merged PRs (30d)
103

Description

### .NET version

Version: 6.0.300

### Did it work in .NET Framework?

No

### Did it work in any of the earlier releases of .NET Core or .NET 5+?

Windows Forms TreeView and ComboBox controls, when used with Verdana Font, do not correctly display certain Latin-8 (ISO-8859-14: Celtic) characters. Certain characters are displayed as squares. E.g., Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®Ÿ appears as □□£Ċċ□§Ẁ©Ẃ□Ỳ®Ÿ . For the ComboBox the squares appear only in the drop-down. It works correctly with some fonts (Arial) but not with others (Arial Black). It doesn't occur on other common controls such as TextBox, Button, Label, CheckBox, RadioButton, CheckedListBox. Note: fixing it in .NET 5 won't help me because our software is at .NET 4.8

### Issue description

![TreeViewComboBox](https://user-images.githubusercontent.com/75649189/172866419-81f5bfb4-0039-4b18-a7d1-4163e0f6fa1f.jpg)

### Steps to reproduce

Add a Windows Forms App
Add a TreeView controls to the form
Change the TreeView's FontFamily to Verdana
Edit the TreeView's Nodes collection, and add a node with the text Ḃḃ£ĊċḊ§Ẁ©ẂḋỲ®Ÿ

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.