cancel
Showing results for 
Search instead for 
Did you mean: 

EHS WWI override fonts for different languages.

Timothy1
Explorer
0 Kudos
450

For language ZF Chinese trad. WWI templates display in font MingLiU

For Language EN English WWI templates display in font Ariel

Both of these instances are correct and as designed. However, in the template for language ZF it is also desired to display certain identifiers in language EN. Is it possible to display this text in EN while still maintaining font MingLiU without changing EN to font MingLiU in the WWI.INI file?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Timothy1
Explorer
0 Kudos

The only solution I could think of was:

- New custom symbol group.

- New custom symbol.

- Custom fetch function in report symbol group.

-- In the fetch function, after the identifier is read, replace the text for language ZF with the text for language EN.

-- Only the text is replaced, The structure values should remain ZF. This tricks the WWI, it thinks all is for language ZF and displays the text in english with the correct font.

Thanks

Timothy

Answers (2)

Answers (2)

christoph_bergemann
Active Contributor
0 Kudos

Hello

the topic of "Font" selection is "difficult". The template does not "know" really what later to display (e.g. FR, PT etc.). The topic of "Font" selection is discussed here very often and there are a number of OSS Notes to look at.

WWI is based on "Word" and therefore you must define "Fonts if you generate a WWI Layout. But "which font" to select depends on the WWI Ini (and WWI version in the past the font selection mechanism was adapted)

This is the current SAP helo regarding this topic:

https://help.sap.com/docs/SAP_S4HANA_ON-PREMISE/ff6d35a34fbe4bea99e4ac41b0d5db03/74a6ce5314894208e10...

May be this helps

C.B.

Timothy1
Explorer
0 Kudos

Thank you Christoph,

Yes I've seen discussion of this topic but nothing that resolves this specific issue.

All of the fonts needed are configured and they work in their individual environments with specific language.

(A) An SDS with language EN displays in Ariel.

(B) An SDS with language ZF displays in MingLiU

If I add an identifier in language EN to SDS (B) the font should be MingLiU, but it displays as Ariel. The SDS will display 2 different fonts, even though the SDS is created in Language ZF.

Thanks

Timothy

Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Timothy,

If you format the symbols for the output of the identifiers as MingLiU the it should work. However, I don't know if the text will be correctly converted, you will have to test it.

Best regards,

Ralph

Timothy1
Explorer
0 Kudos

Hello Ralph and good day,

"If you format the symbols for the output of the identifiers as MingLiU"

I am sorry, but I am not sure exactly what you mean by this.

Does this mean simply changing the font in the word template? If so this does not work, otherwise I am not sure where you mean this formatting can be done.

Again sorry that I am not fully understanding what you mean.

Thanks

Timothy

Ralph_P
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Timothy,

That is what I meant, yes. You just need to make sure that the paragraph mark after the symbol for the ident is also formatted as MingLiU. But if that does not work I'm afraid I'm out of my wits.

Best,


Ralph