View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0004840 | NoesisGUI | Unity | public | 2026-02-25 22:52 | 2026-07-23 13:01 |
| Reporter | stonstad | Assigned To | sfernandez | ||
| Priority | normal | Severity | minor | ||
| Status | resolved | Resolution | no change required | ||
| Product Version | 3.2.11 | ||||
| Target Version | 3.2.14 | Fixed in Version | 4.0 | ||
| Summary | 0004840: RichText.SetText Font Family Assignment Fails | ||||
| Description | If a font family stored in a resource dictionary is specified using a key which contains the font's name, RichText.SetText fails. Reproduction Steps
| ||||
| Attached Files | |||||
| Platform | Any | ||||
|
I believe this behavior has existed in Noesis across several versions. It is not new to 3.2.11. |
|
|
RichText [font] bbcode does not use resources but family names, so in fact the only ones that work are the two in the middle:
You should probably be getting an error of font not found for the other two (#aaaaaaaaaaaa & #bbbbbbbbbbbb). |
|
|
Hi Sergio! Great to chat with you. If it uses font family name I would expect none of the above to work. Is there some kind of fuzzy match on name? Separate question -- what is the intended behavior if two Noesis Fonts have the same family (i.e. Rajdhani-Bold.tts has family 'Rajdhani' and Rajdhani-Medium.tts has family 'Rajdhani')? |
|
|
Yeah, the WPF font differentitation algorithm, that we followed, is a bit relaxed with the family names, and tries to match parts of the name if possible. In this case the family name can include weight and styles and those will override explicit attributes, so for example:
Is rendered using the Bold and Italic styles instead of the ones specified in the properties. |
|
|
This is surprising to learn but also very helpful. Thank you, Sergio! |
|
|
OK to close this issue. Thank you for the helpful feedback! |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-02-25 22:52 | stonstad | New Issue | |
| 2026-02-25 22:52 | stonstad | File Added: image.png | |
| 2026-02-25 22:53 | stonstad | Description Updated | |
| 2026-02-25 22:53 | stonstad | Description Updated | |
| 2026-02-25 22:54 | stonstad | Description Updated | |
| 2026-02-25 22:54 | stonstad | Description Updated | |
| 2026-02-25 22:55 | stonstad | Description Updated | |
| 2026-02-25 22:55 | stonstad | Note Added: 0011946 | |
| 2026-02-25 22:55 | stonstad | Description Updated | |
| 2026-02-25 22:55 | stonstad | Description Updated | |
| 2026-02-25 22:58 | stonstad | Description Updated | |
| 2026-02-25 23:00 | stonstad | Summary | RichText.SetText(TextBlock, string) Font Family Error => RichText.SetText Font Family Assignment Fails |
| 2026-02-25 23:00 | stonstad | Description Updated | |
| 2026-02-25 23:00 | stonstad | Description Updated | |
| 2026-02-26 10:36 | sfernandez | Product Version | 3.2.12 => 3.2.11 |
| 2026-02-26 10:37 | sfernandez | Note Edited: 0011946 | |
| 2026-02-26 10:37 | sfernandez | Assigned To | => sfernandez |
| 2026-02-26 10:37 | sfernandez | Status | new => assigned |
| 2026-02-26 10:37 | sfernandez | Target Version | => 3.2.12 |
| 2026-02-26 10:43 | sfernandez | Status | assigned => feedback |
| 2026-02-26 10:43 | sfernandez | Note Added: 0011949 | |
| 2026-02-26 12:36 | stonstad | Note Added: 0011955 | |
| 2026-02-26 12:36 | stonstad | Status | feedback => assigned |
| 2026-02-26 12:38 | stonstad | Note Edited: 0011955 | |
| 2026-02-27 10:28 | sfernandez | Status | assigned => feedback |
| 2026-02-27 10:28 | sfernandez | Note Added: 0011967 | |
| 2026-02-27 10:28 | sfernandez | Note Edited: 0011967 | |
| 2026-02-27 10:33 | sfernandez | Note Edited: 0011967 | |
| 2026-02-27 10:34 | sfernandez | Note Edited: 0011967 | |
| 2026-02-27 10:34 | sfernandez | Note Edited: 0011967 | |
| 2026-03-01 23:18 | stonstad | Note Added: 0011977 | |
| 2026-03-01 23:18 | stonstad | Status | feedback => assigned |
| 2026-03-04 00:39 | jsantos | Target Version | 3.2.12 => 3.2.13 |
| 2026-04-27 12:17 | jsantos | Target Version | 3.2.13 => 3.2.14 |
| 2026-07-22 18:51 | stonstad | Note Added: 0012459 | |
| 2026-07-23 13:01 | sfernandez | Status | assigned => resolved |
| 2026-07-23 13:01 | sfernandez | Resolution | open => no change required |
| 2026-07-23 13:01 | sfernandez | Fixed in Version | => 4.0 |