allcolor / YaHP-Converter

YaHP is a Java library that allows you to convert an HTML document into a PDF document.
GNU Lesser General Public License v2.1
56 stars 23 forks source link

Checkbox Issue #32

Open kiravirus opened 9 years ago

kiravirus commented 9 years ago

Checkbox went black after converting html code into pdf. yahpcheckbox

allcolor commented 9 years ago

They are rendered like this when checked. If you do not like it, you can use an image instead.

Regards Le 4 mars 2015 04:11, "alanjaydelosangeles27" notifications@github.com a écrit :

Checkbox went black after converting html code into pdf. [image: yahpcheckbox] https://cloud.githubusercontent.com/assets/11306287/6477484/39a5e65a-c25f-11e4-8219-f216821dd56a.png

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/32.

kiravirus commented 9 years ago

Can YaHP read the html hexadecimal? Is there a way to view the check mark on html to pdf? except using image.

allcolor commented 9 years ago

If you want checkbox to look the way you want, you have to use pictures of your choice representing the checkbox in both state, and instead of using the markup <input type='checkbox' use

Regards

2015-03-04 9:29 GMT+01:00 Kiravirus notifications@github.com:

Can YaHP read the html hexadecimal? Is there a way to view the check mark on html to pdf? except using image.

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/32#issuecomment-77115890 .

All those moments will be lost in time, like tears in rain. (Roy Batty/Rutger Hauer)

allcolor commented 9 years ago

If you have a unicode char representing what you want, it will work iff the font you use has the character and that you use font embedding, but yes hexadecimal entity are supported.

2015-03-04 10:49 GMT+01:00 Quentin Anciaux allcolor@gmail.com:

If you want checkbox to look the way you want, you have to use pictures of your choice representing the checkbox in both state, and instead of using the markup <input type='checkbox' use

Regards

2015-03-04 9:29 GMT+01:00 Kiravirus notifications@github.com:

Can YaHP read the html hexadecimal? Is there a way to view the check mark on html to pdf? except using image.

— Reply to this email directly or view it on GitHub https://github.com/allcolor/YaHP-Converter/issues/32#issuecomment-77115890 .

All those moments will be lost in time, like tears in rain. (Roy Batty/Rutger Hauer)

All those moments will be lost in time, like tears in rain. (Roy Batty/Rutger Hauer)