Comments (3)
I have same problem. When I put resouces/fonts
on https://github.com/ArtifexSoftware/mupdf in mupdf-rs-sys-0.4.2/src
, I can compile mupdf-rs.
I found these fonts files are excluded in Cargo.toml
of mupdf-rs.
[package]
edition = "2018"
name = "mupdf-sys"
version = "0.4.2"
authors = ["messense <[email protected]>"]
links = "mupdf-wrapper"
exclude = [
"mupdf/resources/cmaps/*",
"mupdf/resources/icc/*",
"mupdf/resources/fonts/droid/*",
"mupdf/resources/fonts/han/*",
"mupdf/resources/fonts/noto/*",
"mupdf/resources/fonts/sil/*",
"mupdf/resources/fonts/urw/input/*",
from mupdf-rs.
Unfortunately crates.io has a size limit, so we can't include all of the fonts.
For now, you can try to use git dependency instead.
from mupdf-rs.
Hey i have the same issues with the driod sans fallback.ttf - what was the work around in this case??
from mupdf-rs.
Related Issues (20)
- Run tests with address sanitizers on CI
- Run tests with valgrind on CI
- Switch to msbuild on Windows
- How can I create an indirect reference to an object? HOT 1
- Random panics related to `malloc()` while rendering PDF to PNG HOT 10
- Is there a way to replace the outline of pdf ? HOT 1
- Segmentation fault at page.to_display_list() HOT 4
- Segmentation fault in image_filter_callback/set_image_filter HOT 3
- ink annotation already usable?
- [Bug] Page number is always `0` in `Document`'s `outlines()` method HOT 1
- How to include image in `Page`'s `to_html` or `to_xhtml` method? HOT 1
- I can't compile mupdf-rs on Windows 11 HOT 1
- The cost of downloading and compiling libmupdf and libthirdparty is too high. It is recommended to provide precompiled versions. HOT 1
- How to use `Page`'s `to_svg` method?
- Authentication does not work as intended
- Enhance page.rs to support table extraction and title extraction
- Segmentation fault whenever multi-threading with rayon HOT 1
- InvalidData "stream did not contain valid UTF-8" error
- Memory leak when using mupdf-rs:
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 mupdf-rs.