apwlibrary icon indicating copy to clipboard operation
apwlibrary copied to clipboard

How to change text color & Custom font file in android?

Open CKSpaceo opened this issue 8 years ago • 2 comments

Hello, Thanks for awesome lib. I am facing issue to change text color. Can you please help to change the text color.

    mPDFWriter.setFont(StandardFonts.SUBTYPE, StandardFonts.TIMES_ROMAN);
    mPDFWriter.addRawContent("5 0 0 rg\n");
    mPDFWriter.addText(70, 50, 12, "Hello Title");  

I am not able to understand mPDFWriter.addRawContent("[] 0 d\n"); how to use this ? Thanks

CKSpaceo avatar Aug 29 '17 09:08 CKSpaceo

Sorry, I no longer use this library myself so I can't help here 😞

Turbo87 avatar Aug 29 '17 10:08 Turbo87

@Turbo87 Can you recommend any library for creating PDF in android?

Thanks

karishmapujara avatar Jul 23 '18 09:07 karishmapujara