ralfstuckert/pdfbox-layout

Is there any way to add new Font into rst.pdfbox.layout.text.BaseFont

Opened this issue · 3 comments

Hi Sir,
Is there any way to add new Font into rst.pdfbox.layout.text.BaseFont? We want to add some base fonts for Chinese, like simsun.ttf etc.
Thanks,
Bill

me too... waiting

如果你是要用markup,倒有个传PDFont的重载方法addMarkup,但是中文字体是不是没有bold italic 和bold and italic,好麻烦。

如果你是要用markup,倒有个传PDFont的重载方法addMarkup,但是中文字体是不是没有bold italic 和bold and italic,好麻烦。

Thanks. Without BaseFont changes, I abandoned Markup text. I am using pure text with PDFont for now.