2024-05-05 12:37 PM - last edited on 2024-09-26 01:04 PM by Doreena Deng
It seems that there is a bug in Paragraph, Textblock, Richtext commands.
If I write a Text in 2D with 2 different Text Fonts within 1 Textblock, it is shown correctly.
When I create a Auto-GDL-Script of this in AC 27, I will get the following code:
define style{2} "AC_STYLE_1" "Blippo", 3, 0
define style{2} "AC_STYLE_2" "Helvetica", 3, 3
paragraph "AC_PRG_1" 3, 0, 0, 0, 1
pen 21
set style "AC_STYLE_1"
"Bez. 1"
endparagraph
paragraph "AC_PRG_2" 1, 0, 0, 0, 1
pen 1
set style "AC_STYLE_2"
"Inhalt 2223"
endparagraph
textblock "AC_TEXTBLOCK_1" 0, 1, 0, 1, 1, 1,
"AC_PRG_1", "AC_PRG_2"
richtext2 0.9563798989604, 0.913048656224, "AC_TEXTBLOCK_1"
There are 2 different Styles defined, but the 1st style is always overwritten by the 2nd one.
Is this a bug or do I overlook anything?
2024-05-05 06:04 PM
Looks like a bug to me. I can reproduce the issue here.
Curiosly it works when you put both lines in the same paragraph, tho. As soon I make more than one paragraph (even if I do not use it in a Textblock!) this issue keeps reappearing.
Something for @Peter Baksa to dig into.
2024-05-05 07:01 PM
Reported.
2024-05-29 01:22 PM
Hi there,
Thanks a lot for reporting this incorrect behavior in GDL. I entered it into our system so that Péter Baksa and his team can investigate it and hopefully fix the issue as soon as possible. You can refer to this new entry as DEF-19721.
Thank you too @Karl Ottenstein for the assistance!
Cheers,
Kornél
Beleznai Kornél
Technical Support Engineer