Code Monkey home page Code Monkey logo

Comments (18)

coolwanglu avatar coolwanglu commented on July 30, 2024

I didn't observed overlapping, could you please try with devv or exp branch?
Disappearing colored boxes should be something wrong with SplashOutputDev, but I'll confirm it.

Links will be supported soon.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

Fixed.
Also links are supported now.

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

Links are fine now, but the overlapping still exists. Try firefox, please. It's fine in Chrome and Opera.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

I've been actually debugging with firefox, and didn't observe any overlapping..weird...
What's the version of your FF?

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

My Firefox is 15.0.1 on Arch Linux x86_64.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

I've update the master branch.
If it still doesn't work, maybe try a larger value for --font-size-multiplier ?

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

Still doesn't work, even with --font-size-multiplier 10. Here's a screenshot.
PS: You put the scrollbar on a div instead of body, so I can't get a complete screenshot.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

Oh, I see you have zommed out a lot.
Maybe you have specified a minimum font size in your browser?

On Wednesday, September 26, 2012, 依云 wrote:

Still doesn't work, even with --font-size-multiplier 10. Herehttp://img.vim-cn.com/ca/1f9b4d9cfcfeddfa16df8181e6ecbc5dc32288's
a screenshot.
PS: You put the scrollbar on a div instead of body, so I can't get a
complete screenshot.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-8877979.

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

No. It's the same without zooming. I zoomed it so you can see clearly. And I've checked with a minimal-configured Firefox profile. The relative position and size is the same.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

ok let me check further

On Wednesday, September 26, 2012, 依云 wrote:

No. It's the same without zooming. I zoomed it so you can see clearly. And
I've checked with a minimal-configured Firefox profile. The relative
position and size is the same.


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-8878592.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

I see that the font for main text is not embedded, then in HTML the font is declared only with names and let browser to find a matching font.

Sometimes the matching font is the same as described in PDF, sometimes it is not; if it's not, PDF viewer may modify accordingly when rendering the file, but for HTML, the font has to be embedded in order to be modified.

maybe try --embed-base-font 1 ?

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

行了吗?

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

不行,不过重叠部分少了,排版却更差了。我的邮件似乎丢失了。待会找回来重发。

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024

邮件丢了,只找到截图: http://img.vim-cn.com/98/d89c6b66bb17f6af387f8eaa8016f3d9d5b844

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

等你有空,能否麻烦提供如下东西

poppler和fontforge的版本
poppler 自己渲染的结果: pdftocario -l 1 -png xxx.pdf 会有一个png
使用最新的devv分支,pdf2htmlEX -l 1 --debug 1 xxx.pdf, 把输出的html发我,另外留意log中会有一行
embed font: 1, 我需要path那个文件

谢谢!

On Thu, Sep 27, 2012 at 11:00 AM, 依云 [email protected] wrote:

邮件丢了,只找到截图:
http://img.vim-cn.com/98/d89c6b66bb17f6af387f8eaa8016f3d9d5b844


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-8920170.

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

In the screenshot you provided, I see that the font are seems different
from mine.
That font is not embed, and will be matched by poppler, so please check if
poppler itself may render it correctly.

2012/9/27 王璐 [email protected]

等你有空,能否麻烦提供如下东西

poppler和fontforge的版本
poppler 自己渲染的结果: pdftocario -l 1 -png xxx.pdf 会有一个png
使用最新的devv分支,pdf2htmlEX -l 1 --debug 1 xxx.pdf, 把输出的html发我,另外留意log中会有一行
embed font: 1, 我需要path那个文件

谢谢!

On Thu, Sep 27, 2012 at 11:00 AM, 依云 [email protected] wrote:

邮件丢了,只找到截图:
http://img.vim-cn.com/98/d89c6b66bb17f6af387f8eaa8016f3d9d5b844


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-8920170.

from pdf2htmlex.

lilydjwg avatar lilydjwg commented on July 30, 2024
  • poppler 0.20.3-1
  • fontforge 20120731_b-1

poppler 自己渲染的正常:http://img.vim-cn.com/42/a0f16e43e6da0723850238e2923b9bb48cbcf0

HTML 文件,字体文件 DejaVuSerif.ttf

from pdf2htmlex.

coolwanglu avatar coolwanglu commented on July 30, 2024

The problem is that width of glyphs in the fonts are still not handles
correclty.
I've created an issues, and will be working on it.

Thanks a lot for reporting and all your help!

On Thu, Sep 27, 2012 at 2:13 PM, 依云 [email protected] wrote:

  • poppler 0.20.3-1
  • fontforge 20120731_b-1

poppler 自己渲染的正常:
http://img.vim-cn.com/42/a0f16e43e6da0723850238e2923b9bb48cbcf0

HTML 文件 http://img.vim-cn.com/ab/43e413d8d62b8210ef887654dee0a8b3939c9b,字体文件
DejaVuSerif.ttfhttp://img.vim-cn.com/11/366a0ff00faf319b9c26c72206aaf1b3fca6a1


Reply to this email directly or view it on GitHubhttps://github.com//issues/11#issuecomment-8926830.

from pdf2htmlex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.