GDL
About building parametric objects with GDL.
SOLVED!

GDL - Cross-platform issue (windows, mac)

szabadi_gergely
Beginner

Hi!

 

I have noticed, that a simple text ( paragraph > textblock > richtext ) shows different results in mac, and windows platform. Here are the pictures from the issue:

the font is installed, but I tried with different font also - the result is the same

 

Thx for any hel

 

temp 1 - anchor point = 1

temp 4 - anchor point = 4

temp 7 - anchor point = 7

macmacwimwim

 

 

paragraph "temp1" 1, 0, 0, 0, 0, 0
pen penText
set style basicFont_bold
'temp 1 '
endparagraph
textblock "temp1" 0, 1, 0, 1, 1, 0, "temp1"

paragraph "temp7" 1, 0, 0, 0, 0, 0
pen penText
set style basicFont_bold
'temp 7 '
endparagraph
textblock "temp7" 0, 7, 0, 1, 1, 0, "temp7"

paragraph "temp4" 1, 0, 0, 0, 0, 0
pen penText
set style basicFont_bold
'temp 4 '
endparagraph
textblock "temp4" 0, 4, 0, 1, 1, 0, "temp4"



add2 1, 1
line2 0, 0 , 10, 0
richtext2 0, 0, "temp1"
add2 1, 0
richtext2 0, 0, "temp4"
add2 1, 0
richtext2 0, 0, "temp7"
del 3
1 ACCEPTED SOLUTION

Accepted Solutions
Solution
julienK
Advocate

Try  increasing the line_spacing parameter  of the paragraphs

ls.jpg

View solution in original post

2 REPLIES 2
Solution
julienK
Advocate

Try  increasing the line_spacing parameter  of the paragraphs

ls.jpg

thx very much