summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2021-09-14Add `BoolExt` trait with `flip` methodLaurenz
2021-09-10Reimplement `Debug` for layout nodesLaurenz
2021-09-10Set the correct base for grid cellsLaurenz
2021-09-10Fix fr rows in infinite regionLaurenz
2021-09-10Rename `Arguments` to `Args`Laurenz
2021-09-09Bump pdf-writerLaurenz
2021-08-31Make user-facing "debug" representation use Debug instead of DisplayLaurenz
2021-08-31More utility functionsLaurenz
- join("a", "b", "c", sep: ", ") - int("12") - float("31.4e-1") - str(10) - sorted((3, 2, 1))
2021-08-30Add abs() functionLaurenz
2021-08-30Lower- and uppercase string conversion functionsLaurenz
2021-08-29Allow body for font function once againLaurenz
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-27Make font fallback disableableLaurenz
2021-08-27Font family thingsLaurenz
- Better default font family order - Remove weird leading dots from font family names - Public API for retrieving all found font families
2021-08-27Parse command line arguments with pico-argsLaurenz
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-21Prune derivesLaurenz
2021-08-21Make better use of existing variables in gridLaurenz
2021-08-21Turn backlog into iteratorLaurenz
2021-08-19Refactor layouting a bitLaurenz
Notably: - Handle aspect ratio in fixed node - Inline constraint inflation into pad node
2021-08-19Pattern properties (#42)Martin
Included in this package are: * Code review I: The unnamed review. * Code Review II: How I met your review. * Code Review III: Code, the final frontier. These are the voyages of the USS Review ...
2021-08-18Move to exclusively oneshot benchmarks with Iai fork (#41)Martin
2021-08-18Memory loaderLaurenz
2021-08-17Library functions behave more imperativelyLaurenz
- Templates scope state changes - State-modifying function operate in place instead of returning a template - Internal template representation contains actual owned nodes instead of a pointer to a syntax tree + an expression map - No more wide calls
2021-08-17More logical ordering and namingLaurenz
2021-08-17Make percentages for h and v relative to area instead of font sizeLaurenz
2021-08-16Convert single-field structs to tuple structsLaurenz
2021-08-16Change how functions are calledLaurenz
2021-08-16Editable source filesLaurenz
2021-08-14Adjust macros to new versionLaurenz
2021-08-14Separate type for string valuesLaurenz
2021-08-13Fix bug on unix againLaurenz
2021-08-13Optimize memory sizesLaurenz
2021-08-13Argument collection and spreadingLaurenz
2021-08-13Add file information to spansLaurenz
2021-08-12Named arguments for user defined functionsLaurenz
2021-08-12Make range-end exclusiveLaurenz
2021-08-12Array and dictionary indexingLaurenz
2021-08-10Minor refactoringsLaurenz
- Reorder parser methods and use `Pos` everywhere - Remove tab special handling for columns and adapt heading/list/enum indent handling - Don't panic when a file has an empty path