View Issue Details

IDProjectCategoryView StatusLast Update
0002379NoesisGUIC++ SDKpublic2022-08-03 16:06
Reportersteveh Assigned Tojsantos  
PrioritynormalSeverityminor 
Status resolvedResolutionfixed 
Product Version3.2.0 
Target Version3.2.0Fixed in Version3.2.0 
Summary0002379: Bad clipping when text wraps
Description

Hi guys,

So we're seeing issues where text wrapping will cause some bad clipping. This is particularly noticeable with our arabic font. It's not 100%, and it depends on where the line wraps, but the edges of the text blocks can clip. If the text does not wrap then it's absolutely fine.

I'm on a slightly old version of the Arabic branch (a local copy of trunk 3.1.2 and Arabic merged together).

I'm attaching a sample I used to demonstrate this.

The sample is called "SumoSample_ArabicLineHeight". The reason it's called "ArabicLineHeight" is because I was trying to reproduce a different bug that we see in our game where glyphs overlap each other. I'm attaching an image of that occurring in our game. However, I have not been able to reproduce that in the vanilla SDK so I need to investigate further as I'm guessing that's something that's wrong with our renderer / shaders.

Steps To Reproduce
  1. Unzip the *.ZIP and extract to your Native directory in the Noesis SDK
  2. Generate the sample from the attached .conf
  3. Build it and run it.

Bug: You should see that 3rd textbox incorrectly clips on the right edge.
Expected Result: There should be no clipping of the text regardless of how it wraps.

Attached Files
NoesisSDK.zip (164,528 bytes)
sumo_renderer_glyph_overlap.png (101,787 bytes)   
sumo_renderer_glyph_overlap.png (101,787 bytes)   
PlatformAny

Activities

jsantos

jsantos

2022-07-14 17:43

manager   ~0008019

With the latest version of the RTL branch (right now in sync with trunk) this is not happening.

Could you please verify, thank you!

steveh

steveh

2022-07-14 21:15

reporter   ~0008023

Hey Jesús, you're absolutely right, the clipping is fixed in the latest verison of the Arabic branch. Much appreciated! Enjoy your week off.

Issue History

Date Modified Username Field Change
2022-07-13 15:25 steveh New Issue
2022-07-13 15:25 steveh File Added: NoesisSDK.zip
2022-07-13 15:25 steveh File Added: text_wrapping_clipping.png
2022-07-13 15:25 steveh File Added: sumo_renderer_glyph_overlap.png
2022-07-13 18:19 jsantos Assigned To => jsantos
2022-07-13 18:19 jsantos Status new => assigned
2022-07-13 18:19 jsantos Target Version => 3.2.0
2022-07-14 17:43 jsantos Note Added: 0008019
2022-07-14 17:43 jsantos Status assigned => feedback
2022-07-14 21:15 steveh Note Added: 0008023
2022-07-14 21:15 steveh Status feedback => assigned
2022-08-03 16:06 jsantos Status assigned => resolved
2022-08-03 16:06 jsantos Resolution open => fixed
2022-08-03 16:06 jsantos Fixed in Version => 3.2.0