summaryrefslogtreecommitdiff
path: root/src/export
AgeCommit message (Collapse)Author
2022-04-09Sum color and length into strokeLaurenz
2022-04-08Em unitsLaurenz
2022-04-07Make `Relative` genericLaurenz
2022-04-05Fix wrong `search_range` computationLaurenz
2022-04-03Font fallbackLaurenz
2022-02-23Query cacheLaurenz
2022-02-23Rework the core contextLaurenz
2022-02-22Remove layout cacheLaurenz
2022-02-07Tidy upLaurenz
2022-02-08New color stuffMartin Haug
- CMYK function - More default colors - Interpret RGB values as sRGB
2022-01-31Switch from `Rc` to `Arc`Laurenz
2022-01-24Export into rendered imagesLaurenz
2021-12-30Make clippy a bit happierLaurenz
2021-12-07Bump pdf-writer, svg2pdf and error messagesMartin Haug
Co-Authored-By: Laurenz <laurmaedje@gmail.com>
2021-12-06Add SVG capabilitiesMartin Haug
2021-12-04Bump pdf-writerLaurenz
2021-12-02Add a producer info for the PDFMartin Haug
2021-11-26X/Y abstractionsLaurenz
2021-11-24Small style changesLaurenz
2021-11-23TransformationsLaurenz
2021-11-22Welcome to TigerlandLaurenz
2021-11-20StrokesLaurenz
2021-11-16Image fit modesLaurenz
2021-11-16Revert page and inline levelsLaurenz
2021-11-15Make clippy happier and remove `Str`Laurenz
2021-10-31Reorganize modulesLaurenz
Instead of separating functionality into layout and library, everything lives in the library now. This way, related things live side by side and there are no duplicate file names in the two directories.
2021-10-10Move paint and colors into `geom`Laurenz
2021-09-15Bugfix and tidyingLaurenz
2021-09-09Bump pdf-writerLaurenz
2021-08-29Subset CFF subrs referenced by FD arrayLaurenz
2021-08-28Primitive CFF1 subsettingLaurenz
The subsetting strategy is somewhat crazy for now: Simply zero the glyph data for all unused glyphs. While the CFF table itself doesn't shrink, the actual embedded font is compressed and greatly benefits from the repeated zeros. This already compresses the fonts a lot (~90% for NotoSerifCJK), but they are still quite large. Therefore, the plan of action: - First, find more data that can be zeroed out. - Then _maybe_ see whether we can instead properly rebuild the subsetted font.
2021-08-27Refactor subsetterLaurenz
- Gracefully handle failed subsetting of one table - Remove need for creating a ttf-parser face
2021-08-27Subset post tableLaurenz
2021-08-25Compress all PDF streamsLaurenz
2021-08-25Support decoding of mac roman namesLaurenz
This allows discovery of Apple fonts without unicode name entries.
2021-08-25Subset glyf and loca tablesLaurenz
2021-08-24Basic subsetting architectureLaurenz
Constructs a brand new font file where only necessary tables are contained.
2021-08-24PDF bug fixesLaurenz
- Write correct subtype for CID Font - Write CIDToGIDMap attribute - Deduplicate CMap pairings - Bump pdf-writer for string primitive fix
2021-08-24Switch from state to decorations for underline/strikethrough/overlineLaurenz
2021-08-23Links! (#43)Martin
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2021-08-23Kerned PDF outputLaurenz
2021-08-21Shorter/clearer field name for geometry typesLaurenz
Size { width, height } => Size { w, h } Spec { horizontal, vertical } => Spec { x, y } Gen { cross, main } => Gen { inline, block }
2021-08-09New source loading architectureLaurenz
2021-07-21Main context structLaurenz
2021-07-08Rename Fill to PaintLaurenz
2021-06-18Ref count the framesMartin
2021-06-11Remove props in favor of using state for everythingLaurenz
2021-06-10Text decorationsMartin Haug
2021-06-01Refactor path handlingLaurenz
2021-05-28Refactored loading and cache architectureLaurenz