-
Notifications
You must be signed in to change notification settings - Fork 444
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
tableau-icons:0.1.0 #1651
tableau-icons:0.1.0 #1651
Conversation
One thing I am concerned with is the 2MB file for the outlined icons. I do not wish to "motivate" others to also create such large files and therefore would like to hear your opinion on these. |
converted the render system from regexing to using dictionary structures. While it introduces a bit larger files, it improves rendering quite a lot. On my system rendering the stress test doc (which renders all the icons) takes ~1.2s with the json variant compared to the ~13s of the regex variant. |
Hello, and thank you for submitting this package. A preferable approach here would be to have the icons in a font file, and the package would only be responsible for translating human readable names to glyphs. The user of your package would have to download and install the font file by themselves, as they are not allowed in packages. Could you investigate to see if tabler.io provides an icon font, or if there are tools you could use to convert the SVG files to OTF, please? |
Thank you, so I've redid the thing and it should now work with the tabler icons font file! |
Thank you :) |
I am submitting
Description:
tableau-icons
is a package for inserting Tabler.io icons into a document. It provides two functions, one for 'block' icons and the other for inline icons, and supports coloring and size changing. To handle the large icon count better, I've created two svg spreadsheets, which Typst filters through via regex. These can be updated easily through a python script.While it works, a heavy stress test has not been done. The PDF document inside the
docs
folder is the largest stress test I've done (background of the header image has been created with this package).I have read and followed the submission guidelines and, in particular, I
typst.toml
file with all required keysREADME.md
with documentation for my packageLICENSE
file or linked one in myREADME.md
exclude
d PDFs or README images, if any, but not the LICENSE