Comments (6)
Thanks for the feedback! This is definitely something I've been thinking about how to add best.
It would be easy to add all the fonts you've installed on your system to the dropdown and use those in the preview. But what happens if you export the document as HTML and somebody opens it that doesn't have that font installed? Should we include a webfont for that case? Google fonts?
from panwriter.
from panwriter.
It should be included as woff2, see woff2_compress
, if license permits (it does for all fonts available by fnt
). Definitely do not link to the internet for privacy reasons, see the links at fnt
README.md.
I can test on Linux and macOS (having all system/user fonts in the list would already be a great improvement)
from panwriter.
I would love to be able to add a new font as well. Adding the ability to insert the font as a <link>
or @import
would mean it is the responsibility of the user to ensure the font they add to the editor is also available in any generated document.
from panwriter.
You should be able to add custom CSS for the preview with @import
or directly with @font-face
commands (see the README.md), though I haven't tried it recently...
from panwriter.
Okay yes, let's keep this issue about the preview (and export), I've created #93 for the use-case with loading custom css into the editor.
from panwriter.
Related Issues (20)
- Mac OSX Monterey security HOT 1
- Word Count HOT 5
- Takes over DOCX default without asking HOT 4
- Feature Requests HOT 1
- Export problem with AppImage 0.8.4 on Linux Slackware HOT 14
- Preview: image width in units other than px are not converted HOT 2
- Linux AppImage: ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. HOT 4
- White screen on launch HOT 6
- If anybody has time to try to add [markdown-it-highlightjs](https://www.npmjs.com/package/markdown-it-highlightjs) to [markdown-it-pandoc](https://github.com/mb21/markdown-it-pandoc/) without breaking attributes, that would be welcome!
- TOC? HOT 2
- Fonts are ignored in PDF HOT 7
- defaults.yaml in PanWriterUserData partially ignored HOT 1
- Does not compile HOT 2
- Markdown Table Formatting HOT 1
- Feature request: do not force to auto update the application (Mac) HOT 2
- ICML as a target export format HOT 2
- windows 7 HOT 1
- Export to reveal.js HOT 2
- DEV ISSUE: npm ERR! No workspaces found: HOT 4
- Please could we have an Arm Linux package? HOT 4
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 panwriter.