Hello,
I am facing an issue with a line break option - PANGO_WRAP_CHAR.
You can see the output (image.bmp)
for my code (main.cpp)
It is clear that "i" can be rendered on the first line after "Th".
However, it is coming on the second line. This is wrong.
Is this a known bug?
I further debugged and found that
1. can_break_at() gives false for space character.
2. break_width contains the width of "Th" only, when it should contain the width of "The"
But, I am not sure how to fix this.
Moreover, this problem aggravates if we introduce multiple spaces between 2 words.
Any pointers in this direction would be helpful.
Thanks and regards,
Parth Kanungo
Attachment:
image.jpg
Description: Binary data
Attachment:
Main.cpp
Description: Binary data