View Issue Details

IDProjectCategoryView StatusLast Update
0001789NoesisGUIC++ SDKpublic2020-09-15 18:27
Reporterfrochet38Assigned Tojsantos 
PriorityurgentSeveritytweakReproducibilityalways
Status assignedResolutionopen 
Product Version3.0.2 
Target Version3.0Fixed in Version 
Summary0001789: Font selection differs from WPF one
DescriptionNoesisGUI font selection algorithm desn't match WPF one when trying to select fonts from the same family.
Steps To ReproduceFrom "HelloWorld" sample :
1) In Main.cpp Change FontPrtovider to LocalFontProvider pointing to local sample data directoty
2) Copy attached fonts to the data directory

In MainWindow.Xaml

3) Remove "FontFamily" attribute from the "Window"'s attributes
4) Add/change the following attributes to the TextBlock x:Name="Hello" item:
a) FontFamily="./#Gotham" FontWeight="Medium" FontStyle="Normal" FontStretch="Normal"
This selects "Gotham-Black.otf" front with Noesis and "Gotham-Medium.otf" in Blend
b) FontFamily="./#Gotham" FontWeight="Bold" FontStyle="Normal" FontStretch="Normal"
This selects "Gotham-Black.otf" front with Noesis and "Gotham-Bold.otf" in Blend

Forum post : https://www.noesisengine.com/forums/viewtopic.php?f=3&t=2094&p=11669#p11669
TagsNo tags attached.
PlatformWindows

Activities

frochet38

frochet38

2020-09-11 14:16

reporter  

Gotham-Black.otf (165,580 bytes)
Gotham-Bold.otf (157,328 bytes)
Gotham-Book.otf (158,964 bytes)
Gotham-Light.otf (155,004 bytes)
Gotham-Medium.otf (159,852 bytes)
frochet38

frochet38

2020-09-11 14:26

reporter   ~0006622

Added Test xaml

MainWindow.xaml (20,193 bytes)

Issue History

Date Modified Username Field Change
2020-09-11 14:16 frochet38 New Issue
2020-09-11 14:16 frochet38 File Added: Gotham-Black.otf
2020-09-11 14:16 frochet38 File Added: Gotham-Bold.otf
2020-09-11 14:16 frochet38 File Added: Gotham-Book.otf
2020-09-11 14:16 frochet38 File Added: Gotham-Light.otf
2020-09-11 14:16 frochet38 File Added: Gotham-Medium.otf
2020-09-11 14:18 frochet38 Steps to Reproduce Updated View Revisions
2020-09-11 14:26 frochet38 File Added: MainWindow.xaml
2020-09-11 14:26 frochet38 Note Added: 0006622
2020-09-15 17:56 jsantos Target Version => 3.0
2020-09-15 17:56 jsantos Assigned To => jsantos
2020-09-15 17:56 jsantos Status new => assigned
2020-09-15 18:27 frochet38 Priority normal => urgent