You have to embed fonts for all font-style/font-weight combinations.
hi , thanks for the reply but can u Please write a code of line for the same and where to define styles/weight (in embed class or in TLF code)?
In simple words if i have to explain what the problem i'm facing is that if i have a font whoes italic, bold "tff" counter part is not available and still i have to apply the styles on it after embedding, and this case is not working even after applying fontStyle and fontWeight on Embed" metadata tag.
for ex: i have Arial(Normal) only and i have to apply italic and bold properties by using text layout format. how can i do it......without using Arial-Italic and Arial-Bold TFF.
I don't know of any way to do that. You can try setting fontLookup to
"device" to try to turn off use of embedded fonts.
thanks for the reply again!
i have tried a lot for this issue and noticed that if m using FontLookup.EMBEDDED_CFF, styles won't work on the normal TTF fonts or any other styled TTF also...but if i use FontLookup.DEVICE then everythings applies irespective of the TTF type used....i just want a prove for my point as i have to explain this to my PL.....
When using embedded fonts, you have to embed each fontstyle and fontweight
combination. If you use device, then we use the operating system to render
Here is more information: