Laurenz
13230db68c
Fix some clippy warnings ✔
2020-10-07 19:28:34 +02:00
Laurenz
7143e10afc
Streamline font handling a bit 📜
2020-09-30 13:18:42 +02:00
Laurenz
181f756a9e
Format everything with rustfmt! 💚
2020-08-30 22:18:55 +02:00
Laurenz
dbfb3d2ced
Formatting, documentation and small improvements 🧽
2020-08-03 16:04:55 +02:00
Laurenz
cbbc46215f
Layout elements and pure rust rendering 🥏
2020-08-02 21:17:42 +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
7b2a4aa040
Split font module into submodules 🧱
2019-06-22 20:41:04 +02:00
Laurenz
864ae9f604
Parse loca table 🔨
2019-06-22 19:43:06 +02:00
Laurenz
099ce71aba
Unify font classes + By-value-contexts ⚖
2019-06-22 15:32:19 +02:00
Laurenz
c7ee2b393a
Fix top-left text alignment 📐
2019-06-22 12:51:06 +02:00
Laurenz
968e121697
Implement flex and box layouting 📏
2019-06-21 21:41:02 +02:00
Laurenz
b53ad6b1ec
Introduce flex layouting 🎈
2019-06-17 10:08:16 +02:00
Laurenz Mädje
c4eb4ee362
Fix some documentation 🚧
2019-06-02 12:39:59 +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
e3215fa3b9
Unify parsing and typesetting functions. 🗳
2019-05-20 11:36:31 +02:00
Laurenz
c384e52480
Improve code quality 🎫
2019-04-29 13:41:00 +02:00
Laurenz
6c29e45ce2
Implement paragraphs 📜
2019-04-01 13:33:54 +02:00
Laurenz
3b4b55c59e
Implement bold and italics 📜
2019-04-01 12:25:31 +02:00
Laurenz
e589843966
Implement font fallback 🚀
2019-04-01 10:01:42 +02:00
Laurenz
54ace2a7fd
Simplify subsetter definition ✨
2019-03-31 17:24:52 +02:00
Laurenz
a522a15a66
Insert default glyph when subsetting ⚙
2019-03-31 15:47:57 +02:00
Laurenz
0fceff5aa4
Fix some things 🚧
2019-03-31 12:35:44 +02:00
Laurenz
5ca303ecad
Make things more consistent ♻
2019-03-30 20:58:46 +01:00
Laurenz
adfd7dd073
Create complex font_info macro 🚀
2019-03-30 20:13:30 +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
229bd7783c
Refactor opentype crate ♻
...
- Restructure modules
- Improve code and documentation clearity
2019-03-29 22:46:12 +01:00
Laurenz
83dd762f67
Font providers 🚀 + better docs 📜
2019-03-14 19:54:38 +01:00
Laurenz
22ea09d9c1
Better error handling 🌍
2019-03-14 17:10:06 +01:00
Laurenz
aae8a3a77e
Unified font error type 🔗
2019-03-14 15:35:01 +01:00
Laurenz
67b1945034
Refactor pdf font handling ♻
2019-03-14 00:06:27 +01:00
Laurenz
0c87c0c5a5
Basic multiline support 📜
2019-03-13 18:42:33 +01:00
Laurenz
107450ee5c
Restructure typeset crate ✈
2019-03-11 22:15:34 +01:00
Laurenz
77e5299667
Tidy up PDF crate 🧹
2019-03-11 18:02:47 +01:00
Laurenz
67281c4f46
Redesign document representation 🧱
2019-03-11 17:24:00 +01:00
Laurenz Mädje
5942c3ba2a
Improve subsetting errors ♻
2019-03-10 13:18:24 +01:00
Laurenz
d217d4f02a
Fix subsetting for composite glyphs 🔨
2019-03-03 18:36:56 +01:00
Laurenz
06101492dc
Implement subsetting engine 🚀
2019-03-03 15:00:27 +01:00
Laurenz
ae3af533ff
Extract opentype parser into crate 🧱
2019-02-16 20:17:31 +01:00
Laurenz
5a600eb354
Move crate into workspace subfolder
2019-02-12 21:31:35 +01:00