Skip to content
This repository was archived by the owner on Dec 9, 2018. It is now read-only.
This repository was archived by the owner on Dec 9, 2018. It is now read-only.

Make .woff the default font type #183

@kasperpeulen

Description

@kasperpeulen

I've been exploring ways to convert pdf to html the last couple of months. I think this product is very good, but there are some issues I want to adress.

In chrome, the computer roman fonts of latex doesn't seem to look good:
http://www.mediafire.com/view/abv5hvlahq4gcvx/ross.pdf

chrome

Especially when the fonts gets small, it is very ugly. You talk about using mactype, I don't think this is a real solution.

I've been trying to find ways to convert latex (with computer roman fonts) to html. This is my method. I use illustrator to convert pdf to svg. The embedded svg fonts only work in chrome and opera, so therefore I replace those fonts with woff fonts generated by this product: http://www.idrsolutions.com/online-pdf-to-html5-converter/

It seems like those woff fonts produce better results in chrome. Even in internet explorer and firefox, where the fonts of pdf2htmlex doesn't look bad, it seems like those woff fonts are a bit superior, especially when you zoom out:

woff fonts:
woff

pdf2html fonts:
pdf2htmlex

These are screenshot from IE10/Windows 7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions