Comments (9)
Great, thanks for the confirmation. Since the additions seem to work as expected, I'm closing the ticket for now. Feel free to open it again if you still find any issues.
from dvisvgm.
Thank you for the information. Could you please provide all files required to perform the tests independently of the TeX Live sources? Currently, I can't reproduce the segmentation faults. dvisvgm just prints several warnings, e.g.
*** dvisvgm: test for upjf_full
pre-processing DVI file (format version 3)
WARNING: font file 'upjv-r.mf' not found
WARNING: font file 'upjv-g.mf' not found
WARNING: font file 'upjf-r.mf' not found
WARNING: font file 'upjf-g.mf' not found
WARNING: font file 'cmr10.pfb' not found
processing page 1
graphic size: 219.455205pt x 212.999624pt (77.129683mm x 74.860806mm)
WARNING: can't embed font 'upjv-g'
WARNING: can't embed font 'cmr10'
WARNING: can't embed font 'upjf-r'
WARNING: can't embed font 'upjv-r'
WARNING: can't embed font 'upjf-g'
output written to upjf_full.svg
1 of 1 page converted in 0.523378 seconds
As a first step it would help to have all data available to test a single case that leads to a segfault.
from dvisvgm.
If the following lines are comment out by #, the segfault will be reproduced.
https://github.com/t-tk/texlive-source/blob/3e827146f98f7be2a41149f6a5d74084ff43dbf4/texk/dvisvgm/tests/dvisvgm-uptex.test#L36-L39
from dvisvgm.
Ok, thanks for the hint. I've fixed the cause of the segfaults.
from dvisvgm.
The latest changes add OFM support and the corresponding VF fallback mechanism.
from dvisvgm.
Thank you for the update.
I imported the sources and tested.
The segfault was fixed, but I could not get the same result between w/ and w/o fallback.
from dvisvgm.
Do you get any warning messages from dvisvgm? For my tests I needed to adapt your upjf.map
because it doesn't specify font files for the fonts listed there. Thus, I got the warnings shown above.
I use these entries taken from texk/dvipdfm-x/tests/upjf.map
and get correct conversion results with them:
upjf-r UniJIS-UTF16-H HaranoAjiMincho-Regular.otf
upjf-g UniJIS-UTF16-H HaranoAjiGothic-Regular.otf
upjv-r UniJIS-UTF16-V HaranoAjiMincho-Regular.otf
upjv-g UniJIS-UTF16-V HaranoAjiGothic-Regular.otf
from dvisvgm.
Thank you for your comment.
I got intended results by using the following entries in the map file upjf.map
.
upjf-r unicode HaranoAjiMincho-Regular.otf
upjf-g unicode HaranoAjiGothic-Regular.otf
upjv-r unicode HaranoAjiMincho-Regular.otf
upjv-g unicode HaranoAjiGothic-Regular.otf
from dvisvgm.
Thank you for your support.
from dvisvgm.
Related Issues (20)
- Left edge of viewBox is always 0 with --exact-bbox HOT 6
- Assertion violation + core dump HOT 3
- Raster instead of vector HOT 1
- Missing text from PDF >> SVG HOT 6
- Baseline incorrect with Chinese characters HOT 15
- Ghostscript 10.01.0+ support HOT 6
- Hyphen character missing when using luatex with DVI output HOT 5
- PDF -> SVG: Pixels cut-off on right border HOT 4
- pstricks: PostScript error: undefined in NodeScale HOT 7
- Request for reduced information verbosity level/flag HOT 6
- TL build patch: potrace HOT 2
- TL build patch: main src/Makefile.am HOT 1
- InvalidDVIFileException in upTeX DVI only on Solaris HOT 2
- Deferred initialization of PS doesn't work HOT 4
- color gradient missing in svg file HOT 4
- Breakage with libgs-10.02 creating svg file from asy. HOT 15
- 3D plots in PDFs generated with `interp` shading disappear from SVG HOT 1
- Unable to convert Japanese characters to SVG from DVI HOT 13
- Ghostscript sill not found (macOS) HOT 4
- Wrong clipping and viewport with multiple pages converted at once HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dvisvgm.