View Issue Details

IDProjectCategoryView StatusLast Update
0004056NoesisGUIC++ SDKpublic2025-04-30 02:49
ReporterFrancoisRecisio Assigned Tojsantos  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version3.2.7 
Target Version3.2.8 
Summary0004056: Strokes and emoji look weird when used together
Description

Use of strokes on text with emoji is not perfect, stroke color is not respected by emoji characters (tested in XamlPlayer)

TagsNo tags attached.
Attached Files
TextEmojis.xaml (2,402 bytes)   
<Grid
  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
  xmlns:noesis="clr-namespace:NoesisGUIExtensions;assembly=Noesis.GUI.Extensions">

  <Grid.Background>
    <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
      <GradientStop Offset="0" Color="#FF184C79"/>
      <GradientStop Offset="0.05" Color="#FF1B5688"/>
      <GradientStop Offset="1" Color="#FF123859"/>
    </LinearGradientBrush>
  </Grid.Background>

  <Viewbox>
    <Viewbox>
      <Border x:Name="page" Width="2100" Margin="100" Padding="300,200"
              RenderTransformOrigin="0.5,0.5">
        <Border.RenderTransform>
          <ScaleTransform ScaleY="{Binding ScaleX, RelativeSource={RelativeSource Self}}"/>
        </Border.RenderTransform>
        <noesis:Element.Transform3D>
          <noesis:CompositeTransform3D CenterX="1050"/>
        </noesis:Element.Transform3D>
        <StackPanel TextElement.FontFamily="Fonts/#Twemoji Mozilla">
          <TextBlock FontSize="120" TextWrapping="Wrap" noesis:Text.Stroke="Black" noesis:Text.StrokeThickness="30">
            Example text &#x1f600; &#x1f601; &#x1f602; &#x1f603; &#x1f604; &#x1f605; &#x1f606; &#x1f607; &#x1f608; &#x1f609; &#x1f60A; &#x1f60B; &#x1f60C; &#x1f60D; &#x1f60E; &#x1f60F; &#x1f610; &#x1f611; &#x1f612; &#x1f613; &#x1f614; &#x1f615; &#x1f616; &#x1f617; &#x1f618; &#x1f619; &#x1f61A; &#x1f61B; &#x1f61C; &#x1f61D; &#x1f61E; &#x1f61F; &#x1f620; &#x1f621; &#x1f622; &#x1f623; &#x1f624; &#x1f625; &#x1f626; &#x1f627; &#x1f628; &#x1f629; &#x1f62A; &#x1f62B; &#x1f62C; &#x1f62D; &#x1f62E; &#x1f62F; &#x1f630; &#x1f631;
          </TextBlock>
          <TextBlock FontSize="120" TextWrapping="Wrap" Margin="0,100,0,0">
            Example text &#x1f600; &#x1f601; &#x1f602; &#x1f603; &#x1f604; &#x1f605; &#x1f606; &#x1f607; &#x1f608; &#x1f609; &#x1f60A; &#x1f60B; &#x1f60C; &#x1f60D; &#x1f60E; &#x1f60F; &#x1f610; &#x1f611; &#x1f612; &#x1f613; &#x1f614; &#x1f615; &#x1f616; &#x1f617; &#x1f618; &#x1f619; &#x1f61A; &#x1f61B; &#x1f61C; &#x1f61D; &#x1f61E; &#x1f61F; &#x1f620; &#x1f621; &#x1f622; &#x1f623; &#x1f624; &#x1f625; &#x1f626; &#x1f627; &#x1f628; &#x1f629; &#x1f62A; &#x1f62B; &#x1f62C; &#x1f62D; &#x1f62E; &#x1f62F; &#x1f630; &#x1f631;
          </TextBlock>
        </StackPanel>
      </Border>
    </Viewbox>
  </Viewbox>
</Grid>
TextEmojis.xaml (2,402 bytes)   
emoji.png (354,773 bytes)
PlatformAny

Activities

jsantos

jsantos

2025-04-08 19:23

manager   ~0010485

I'm not sure what the technical solution or the expected result is here.

Are you using this feature in another software? If so, could you please share a screenshot of the result you're getting when stroking an emoji?

FrancoisRecisio

FrancoisRecisio

2025-04-09 08:46

reporter   ~0010493

Honestly, I don't know either. We don't use this feature elsewhere. Either the stroke shouldn't be applied to emoji, or it should be applied with the right colour, as is the case for a classic character... Both seem good to me, but I don't know which is the simplest solution for you.

jsantos

jsantos

2025-04-09 14:30

manager   ~0010494

I see, so not applying the stroke in this case is valid for you right?

FrancoisRecisio

FrancoisRecisio

2025-04-09 14:51

reporter   ~0010495

Yes, I think so. We use strokes to highlight white texts on coloured backgrounds, but in the case of emojis which are themselves coloured... it doesn't really matter.

jsantos

jsantos

2025-04-30 02:49

manager   ~0010552

Fixed in r15520

Issue History

Date Modified Username Field Change
2025-04-08 09:23 FrancoisRecisio New Issue
2025-04-08 09:23 FrancoisRecisio File Added: TextEmojis.xaml
2025-04-08 09:23 FrancoisRecisio File Added: emoji.png
2025-04-08 19:18 jsantos Assigned To => jsantos
2025-04-08 19:18 jsantos Status new => assigned
2025-04-08 19:23 jsantos Note Added: 0010485
2025-04-08 19:23 jsantos Status assigned => feedback
2025-04-09 08:46 FrancoisRecisio Note Added: 0010493
2025-04-09 08:46 FrancoisRecisio Status feedback => assigned
2025-04-09 14:29 jsantos Target Version => 3.2.8
2025-04-09 14:30 jsantos Note Added: 0010494
2025-04-09 14:30 jsantos Status assigned => feedback
2025-04-09 14:51 FrancoisRecisio Note Added: 0010495
2025-04-09 14:51 FrancoisRecisio Status feedback => assigned
2025-04-30 02:49 jsantos Status assigned => resolved
2025-04-30 02:49 jsantos Resolution open => fixed
2025-04-30 02:49 jsantos Note Added: 0010552