Solved

Pdf with line spacing dependent of language

  • 19 April 2021
  • 3 replies
  • 93 views

Userlevel 5
Badge +9

When I preview a purchase order selecting en or de as language I get different overall line spacing on the pfd generated.

When selecting en (english) as language the line spaceing is larger  then when I select de (german).

I use the same layout only selecting different language.

I have no report rule that is formatting the layout.

What else could format the  pdf differently depending on language?

icon

Best answer by ChanakaAmarasekara 20 April 2021, 07:43

View original

This topic has been closed for comments

3 replies

Userlevel 5
Badge +11

Hi @atvanst,

Do you use Java PrintAgent or .NET based print agent?

Thank you

Userlevel 7
Badge +15

Hi,

Maybe you have a different font mapped when you preview the report in ‘de’. Check “Report Font > Font Mapping” and see if there is a font substitution for ‘de’. Another way to check is to get the properties of the PDF file and in the ‘Font’ tab check if the fonts are the same when the language is ‘en’ and ‘de’.

If not, maybe there is a property condition in the layout making the line spacing more if the language is not ‘en’. You will have to open the layout in Report Designer Tool and check this.

Another thing is that maybe the German font characters takes more space than the English font characters hence making it feels like it takes more space.

Userlevel 5
Badge +9

Hi,

We had a font substitution in place for English, not sure why.

When I remove this oen in TEST I get same line spacing in all languages.

Thanks for your quick on this:-)

Regards, 

Anna