View Issue Details

IDProjectCategoryView StatusLast Update
0002137NoesisGUIC# SDKpublic2021-10-06 11:52
ReporterAndreN Assigned Tojsantos  
PrioritynormalSeverityfeature 
Status assignedResolutionopen 
Product Version3.1.1 
Target Version3.1 
Summary0002137: Better FontProvider API to allow easier reloading
Description

Hello

This feature request is an outcome of a forum discussion.

When implementing a font provider for hot reloading, it is very hard to trigger the hot reloading with the method RaiseFontChanged(...), since it takes a lot of arguments (font name, weight, stretch and style), which are usually unknown to the font provider. The font provider previously just opened the file as stream and hand it over to the Noesis API, thus it does not even know the name of the font, just the folder and filename.

It would be great to enhance the API in a way, that it is easier to implement font providers for hot reloading. I could imagine two ways of doing it:
1.) either the Noesis API returns this information to the font provider, so it can cache it and later reuse to trigger reloading
2.) or the Noesis API allows reloading by folder and filename

Maybe you have even better ideas.

Thanks in advance.

PlatformAny

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2021-10-05 19:30 AndreN New Issue
2021-10-05 19:30 AndreN Tag Attached: C#
2021-10-05 19:30 AndreN Tag Attached: Fonts
2021-10-06 11:52 jsantos Assigned To => jsantos
2021-10-06 11:52 jsantos Status new => assigned
2021-10-06 11:52 jsantos Target Version => 3.1