Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PDF preview window does not match the text in the Text Editor window #31

Closed
LloydBG opened this issue Jul 2, 2015 · 3 comments
Closed
Labels
Milestone

Comments

@LloydBG
Copy link

LloydBG commented Jul 2, 2015

Description:
The pdf preview windows does not match the text in the Text Editor window.

Steps to Recreate:

  1. Open LaTex Studio
  2. Open a document to edit or update
  3. Type "<" and ">" without the quotation marks

Expected Result:
The pdf preview window should display both "<" and ">" correctly

Actual Result:
The pdf preview windows displayed and inverted "!" and "?"

Screenshot:
Windows 7
image

Linux - Ubuntu 14.04.2
image

@LordFarin
Copy link

LordFarin commented Apr 26, 2016

This occurs because the default font encoding pdflatex uses isn't identical to what we expect for < and >. See https://tex.stackexchange.com/questions/2369.

Putting
\usepackage[T1]{fontenc}
at the top resolves the problem in the generated PDF. However, this breaks the preview window because of PDFBox:

INFO [org.apache.pdfbox.pdmodel.font.PDType3Font]: Rendering of type3 fonts isn't supported in PDFBox 1.8.x. It will be available in the 2.0 version!

@sebbrudzinski
Copy link
Owner

I'll be looking into upgrading to PDFBox 2.0 as a part of this ticket: #33 Unfortunately, 2.0 brings some breaking changes for us. I'll verify both tickets once we have upgraded.

@sebbrudzinski
Copy link
Owner

Should be fixed by #140

@sebbrudzinski sebbrudzinski added this to the 1.5 milestone Aug 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants