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

Greek letters from Linux Libertine font not printed with -n option using newxt #11

Closed
mgieseki opened this issue Jul 20, 2014 · 3 comments
Assignees
Labels

Comments

@mgieseki
Copy link
Owner

I'm not sure whether this is a bug in newxt or in dvisvgm, but I'm filing it here since it works everywhere except with dvisvgm.

The attached very basic .tex document uses newxt to create equations with Linux Libertine font. This works fine when processed to DVI using latex, and also when converting the DVI to PDF or PNG using dvipdf or dvipng. But converting the DVI to SVG using dvisvgm does not work: without the -n option the characters are garbage, and with it greek letters are not visible (others are fine). If I use another font via the newxt package, the problem with -n does not appear (though the characters are still not OK without it).

FWIW, I use this newxt + dvisvgm combination to integrate LaTex equations into a LibreOffice document using TexMaths.

This is on Fedora 18.

Launchpad Details: #LP1191506 Milan Bouchet-Valat - 2013-06-16 13:43:20 +0200

@mgieseki
Copy link
Owner Author

According to the attached svg file, you're using dvisvgm 1.2.1. This version has a bug that prevents the correct evaluation of fontmap files. Probably, that's the reason for the missing greek characters. However, the issue was fixed in version 1.2.2. The recent dvisvgm 1.3 converts your sample file correctly too (see attachment).

Concerning the garbage when running dvisvgm without option -n: That's because of the lacking svg font support of most web browsers/svg renderers. The svg itself is valid nonetheless. Option -n omits svg fonts and replaces them by graphics paths.

Launchpad Details: #LPC Martin Gieseking - 2013-06-16 15:19:48 +0200

@mgieseki
Copy link
Owner Author

Oops, sorry. I thought Fedora kept Texlive packages relatively up-to-date, but it does not seem to be the case (you probably know that since it appears you are the maintainer :-). Though I wonder why on CTAN dvisvgm is still version 1.2.2, not 1.3?

I guess this can be closed then, I'll look forward to the package update (for now I can rely on PNG which is OK as a temporary fix).

Launchpad Details: #LPC Milan Bouchet-Valat - 2013-06-16 17:54:07 +0200

@mgieseki
Copy link
Owner Author

OK, I'm closing the ticket here. If you find any further issues, don't hesitate to let me know.

I indeed used to be the maintainer of dvisvgm in Fedora until the update of TeX Live from version 2007 to 2012 happened. Since dvisvgm is now part of TeX Live (texlive-dvisvgm), it's no longer necessary to maintain a separate dvisvgm package. Therefore, it's deprecated and won't be present any longer in Fedora 19.

dvisvgm 1.3 was released shortly after the feature freeze of TeX Live 2013 so that it will stay with 1.2.2. However, Jindrich Novy, the maintainer of the Fedora Tex Live packages usually updates all packages frequently. Thus, there will probably be a newer dvisvgm package available in Fedora as soon as a newer dvisvgm release gets imported into the TeX Live trunk.

Launchpad Details: #LPC Martin Gieseking - 2013-06-16 20:45:44 +0200

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

1 participant