Commit Graph

109 Commits

Author SHA1 Message Date
T0mstone 0a168b687e
Allow multi-character symbols (#6489)
Co-authored-by: Max <max@mkor.je>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-09-04 09:30:19 +00:00
Y.D.X. c340c27924
Fix CJ-Latin space at manual line breaks (#6700)
Co-authored-by: Laurenz Mädje <laurmaedje@gmail.com>
2025-09-04 09:17:00 +00:00
Laurenz a880ac8bbf
Type safety for logical indices in line layout (#6848) 2025-09-02 11:46:23 +00:00
Philipp Niedermayer 3d64f7b659
Fix auto hanging-indent for centered headings (#6839) 2025-09-01 09:20:42 +00:00
Siddhant Agarwal 45ad06453b
Allow augment line at the beginning and end of a matrix (#5806)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-09-01 08:52:06 +00:00
Laurenz 206792bf38
Ensure that hyphenation is possible after a tag (#6807) 2025-08-22 16:28:11 +00:00
Laurenz f9caddc6d3
Compute width of shaped text on-demand (#6806) 2025-08-22 16:03:20 +00:00
Laurenz 2501da4bb6
Fix Unicode mapping of hyphenation artifacts (#6799) 2025-08-21 14:21:56 +00:00
Laurenz 727df723df
Separate items for hyphens, fixing style of repeated hyphen (#6798) 2025-08-21 14:03:06 +00:00
Laurenz c163c46b3a
Extract `trim_weak_spacing` function (#6797) 2025-08-21 13:17:16 +00:00
Laurenz eb93294171
Fix logical order in bidirectional lines (#6796) 2025-08-21 12:50:16 +00:00
Laurenz f6c6c68902
Bump Rust to 1.89 in CI (#6775)
Co-authored-by: Drodt <daniel.drodt@tu-darmstadt.de>
Co-authored-by: Daniel Drodt <132357467+Drodt@users.noreply.github.com>
2025-08-17 10:55:28 +00:00
Théophile Cailliau f985d15a94
Implement fraction styles: vertical, skewed, and horizontal. (#6672) 2025-08-17 10:48:26 +00:00
Tobias Schmitz 343a57b50d
Move grid cell locator creation to GridLayouter (#6746) 2025-08-13 12:09:56 +00:00
Laurenz 57f85eb4fd
Deduplicate fallback smart quotes (#6747) 2025-08-12 14:05:34 +00:00
Laurenz c49b9640a6
Rename `pdf.embed` to `pdf.attach` (#6705) 2025-08-07 10:19:47 +00:00
Max 89dce86f02
Support multiple fonts in math (#6365) 2025-08-07 09:20:19 +00:00
Johann Birnick d0026093d4
Add `title` element (#5618)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-08-06 08:13:41 +00:00
Max cd1a786539
Prevent broken glyph assemblies when font data is incorrect (#6688) 2025-08-01 10:55:37 +00:00
Laurenz 88dfe4d276
Use `rustc-hash` for hash maps and sets (#6678) 2025-07-31 08:45:03 +00:00
Laurenz b036fd97ab Reformat with 2024 edition 2025-07-21 15:22:29 +02:00
Laurenz c9c2315ad3 Fix 2024 clippy warnings 2025-07-21 15:22:29 +02:00
Laurenz 4bbd4e195b Migrate to 2024 edition 2025-07-21 15:22:28 +02:00
Laurenz 0a4b72f8f6
Partially automate span assignment in native show rule (#6613) 2025-07-16 08:55:06 +00:00
Laurenz c58766440c
Support intra-doc links in HTML (#6602) 2025-07-16 08:17:42 +00:00
Y.D.X. ea5272bb2b
Support setting fonts repeatedly with different `covers` (#6604) 2025-07-16 08:10:21 +00:00
Laurenz 98802dde7e
Complete movement of HTML export code to `typst-html` (#6584) 2025-07-10 10:42:34 +00:00
Laurenz 3aa7e861e7
Support images in HTML export (#6578) 2025-07-09 13:48:43 +00:00
Max f9b01f595d
Move math styling to codex and add `math.scr` (#6309) 2025-07-09 13:08:49 +00:00
Laurenz e5e1dcd9c0
Target-specific native show rules (#6569) 2025-07-09 08:16:36 +00:00
Laurenz 0a3c6939dd
Rewrite foundations of native elements (#6547) 2025-07-08 08:52:43 +00:00
Malo 09c831d3b3
Use "subs" and "sups" font features for typographic scripts (#5777) 2025-07-02 08:00:45 +00:00
+merlan #flirora b9f3a95e03
Sort line items by logical order when constructing frame (#5887)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-27 08:36:46 +00:00
+merlan #flirora d54544297b
Minor fixes to doc comments (#6500) 2025-06-25 16:58:40 +00:00
Wannes Malfait 38dd6da237
Fix stroke cap of shapes with partial stroke (#5688) 2025-06-23 14:58:04 +00:00
Malo 3a6d5fd6b2
Do not force `math.mid` elements to have the Large math class (#5980) 2025-06-11 08:29:38 +00:00
Max 44d410dd00
Use the shaper in math (#6336) 2025-06-10 14:44:38 +00:00
PgBiel 7c7b962b98
Table multiple headers and subheaders (#6168) 2025-06-10 14:41:16 +00:00
Tobias Schmitz a18ca3481d
Report errors in external files (#6308)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-06-10 12:46:27 +00:00
Max aee99408e1
Apply short fall consistently in math when stretching (#6377) 2025-06-04 10:14:24 +00:00
Linus Unnebäck 1de2095f67
Add support for WebP images (#6311) 2025-06-04 09:54:03 +00:00
Max 128c40d839
Apply script-style to numbers consistently in math (#6320) 2025-06-04 08:20:54 +00:00
Max dd95f7d594
Fix bottom accent positioning in math (#6187) 2025-06-03 14:08:18 +00:00
Mikołaj 3e7a39e968
Fix stroking of glyphs in math mode (#6243) 2025-05-28 17:29:40 +00:00
Ian Wrzesinski 9a95966302
Remove line break opportunity when math operator precededes a closing paren (#6216) 2025-05-28 13:44:44 +00:00
Tobias Schmitz d204a28818
Expand text link boxes vertically by half the leading spacing (#6252) 2025-05-12 18:12:35 +00:00
Tobias Schmitz 22a117a091
Prohibit some line break opportunities between LTR-ISOLATE and OBJECT-REPLACEMENT-CHARACTER (#6251)
Co-authored-by: Max <max@mkor.je>
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-05-12 09:16:38 +00:00
Tobias Schmitz b322da930f
Respect RTL cell layouting order in grid layout (#6232)
Co-authored-by: PgBiel <9021226+PgBiel@users.noreply.github.com>
2025-05-06 08:26:55 +00:00
Laurenz Stampfl 96dd67e011
Switch PDF backend to `krilla` (#5420)
Co-authored-by: Laurenz <laurmaedje@gmail.com>
2025-04-01 14:42:52 +00:00
Max 012e14d40c
Unify layout of `vec` and `cases` with `mat` (#5934) 2025-03-31 09:38:04 +00:00