Laurenz
cbbc46215f
Layout elements and pure rust rendering 🥏
2020-08-02 21:17:42 +02:00
Laurenz
659248d52f
Raw lengths 🚲
...
Replace unitless length with raw f64 and introduce length type with unit.
2020-08-01 19:15:55 +02:00
Laurenz
06dbac6efd
Port font handling to fontdock and ttf-parser 🛳
...
- Use fontdock for indexing fonts and querying
- Typst binary now automatically indexes and uses system fonts in addition to a fixed font folder!
- Removes subsetting support for now (was half-finished anyways, plan is to use harfbuzz for subsetting in the future)
- Adds font width configuration support
2020-08-01 00:10:54 +02:00
Laurenz
bbcdeb128c
Move, rename and switch some things (boring) 🚚
...
- Problems -> Diagnostics
- Position -> Pos
- offset_spans -> Offset trait
- Size -> Length (and some more size types renamed)
- Paper into its own module
- scope::Parser -> parsing::CallParser
- Create `Decorations` alias
- Remove lots of double newlines
- Switch from f32 to f64
2020-07-29 18:09:51 +02:00
Laurenz
3150fd5643
Better Debug/Display and Derives 🧽
2020-02-03 12:22:02 +01:00
Laurenz
40ea35cbe7
Upgrade to new toddle interface 🐳
2020-02-03 10:37:50 +01:00
Laurenz
20fb4e7c37
Document everything 📜
2020-01-26 15:51:13 +01:00
Laurenz
0a087cd28b
Reorganize modules 🧱
2020-01-24 16:23:57 +01:00
Laurenz
a93b1ab003
Formatting 🛀
2020-01-06 12:50:20 +01:00
Laurenz
7b84f3b553
Adopt new font loading engine ⚙
2020-01-04 22:43:26 +01:00
Laurenz
ff107cf3e7
Tidying up 🧹
2019-12-12 22:19:38 +01:00
Laurenz
7e98022435
Bad stack layouter 🚑
2019-12-09 13:29:04 +01:00
Laurenz
f5b104d0da
Rename crate typst
-> typstc
✏
2019-12-05 20:29:55 +01:00
Laurenz
72a9631b03
Move arg parser into FuncArgs
and create (incomplete) consistent map 🧭
2019-12-05 19:48:37 +01:00
Laurenz
9fb31defd0
Expand functionality of function! macro 🛰
2019-12-04 19:35:28 +01:00
Laurenz
261ef9e33a
Generalize tree layouter 🌲
2019-11-16 10:37:30 +01:00
Laurenz
991e879e1d
Extend stack layouts from vertical to horizontal flows ➡
2019-10-17 19:21:47 +02:00
Laurenz
f2f05e07b0
Implement space extension (multipage) ➕
2019-10-16 21:31:14 +02:00
Laurenz
a3c667895e
Refactor the main layouter ♻
2019-10-15 18:15:36 +02:00
Laurenz
5e41672a91
Refactor and refine PDF exporter ♻
2019-10-14 18:07:18 +02:00
Laurenz
7c0899b537
Run rustfmt 🚿
2019-10-13 13:10:21 +02:00
Laurenz
463e4ebd82
Refactor layout types 🚧
2019-10-13 12:08:07 +02:00
Laurenz
6f22e4f13c
Render debug boxes 🧭
2019-10-11 20:28:22 +02:00
Laurenz
f22a307000
Extract into separate repository 🧱
2019-10-09 19:46:42 +02:00
Laurenz Mädje
b96a7e0cf3
Reuse font loader across compilations 🔋
2019-07-28 22:27:09 +02:00
Laurenz Mädje
6c8b5caa9f
Improve subsetter testing ✔
2019-07-27 21:15:10 +02:00
Laurenz
7eec0b8dd7
Add more tests for table parsers 🔋
2019-06-25 21:07:06 +02:00
Laurenz
030d301f0c
Refactor subsetter 🧰
2019-06-23 13:32:47 +02:00
Laurenz
c7ee2b393a
Fix top-left text alignment 📐
2019-06-22 12:51:06 +02:00
Laurenz
b53ad6b1ec
Introduce flex layouting 🎈
2019-06-17 10:08:16 +02:00
Laurenz Mädje
236ebab23a
Add more fonts 📜
2019-06-02 19:51:37 +02:00
Laurenz Mädje
3e9f42661e
Move to top-left default positioning 📐
2019-06-02 19:15:45 +02:00
Laurenz
c38e17d91f
Thoroughly improve documentation 📝
2019-05-26 21:59:33 +02:00
Laurenz
b3734bbc04
Restructure engine into modular layouter 🍂
2019-05-24 12:24:10 +02:00
Laurenz
c384e52480
Improve code quality 🎫
2019-04-29 13:41:00 +02:00
Laurenz Mädje
98c3788cf1
Fix PDF conformance bugs 🚧
...
- /DocumentCatalog -> /Catalog
- BT/ -> BT
- OpenType -> TrueType (for now)
2019-04-05 14:01:10 +02:00
Laurenz
e589843966
Implement font fallback 🚀
2019-04-01 10:01:42 +02:00
Laurenz
a522a15a66
Insert default glyph when subsetting ⚙
2019-03-31 15:47:57 +02:00
Laurenz
0b2ae78534
Write ToUnicode mapping 📜
2019-03-31 14:13:10 +02:00
Laurenz
5ca303ecad
Make things more consistent ♻
2019-03-30 20:58:46 +01:00
Laurenz
e6e5aad7ce
Refactor font providing ⚙
2019-03-30 18:47:17 +01:00
Laurenz
db96ecae94
Move some types into better places 🧱
2019-03-30 16:58:45 +01:00
Laurenz
f683bba400
Create error_type! macro ✔
2019-03-30 16:42:52 +01:00
Laurenz
10994ebac3
Move exporting into seperate module 🧱
2019-03-30 16:01:45 +01:00