Commit graph

  • 3b1aa511d1
    Clip based on ascent and descent, not baseline (#396) Erik McClure 2025-06-28 12:03:47 -07:00
  • bcfb05a390
    Revert "Round glyph advance to integer sizes (#384)" Jeremy Soller 2025-06-22 13:05:00 -06:00
  • c597f3755b
    Update peniko version to 0.4.0 (#387) Taj Pereira 2025-05-29 22:50:41 +02:00
  • 987ff45ff2
    Round glyph advance to integer sizes (#384) mahkoh 2025-05-14 23:00:30 +02:00
  • b017d7c856
    fontdb 0.23 (#383) tigregalis 2025-04-21 23:58:26 +08:00
  • 9e7a56f083
    0.14.2 Jeremy Soller 2025-04-14 08:57:14 -06:00
  • b347487712
    use BuildHasher::default() not BuildHasher::new() (#381) tigregalis 2025-04-14 22:55:16 +08:00
  • 87a937056d
    0.14.1 Jeremy Soller 2025-04-04 11:53:46 -06:00
  • 695745ac4f
    Store font as peniko::Font behind feature flag (#375) Taj Pereira 2025-04-05 03:49:45 +10:30
  • 6598c7cae8
    0.14.0 Jeremy Soller 2025-03-31 12:59:58 -06:00
  • 7b79d720cf
    Merge pull request #371 from StewartCanva/stewart-add-kerning-ligatures Jeremy Soller 2025-03-31 08:41:10 -06:00
  • e828131c92 fix for test.sh Stewart Connor 2025-03-31 17:03:51 +11:00
  • 53763c157b Merge branch 'refs/heads/main' into stewart-add-kerning-ligatures Stewart Connor 2025-03-31 13:42:12 +11:00
  • 64fd3481f1
    Require Fallback implementations to be Send + Sync Jeremy Soller 2025-03-28 10:33:40 -06:00
  • b027bab538 use alloc ToOwned and String tigregalis 2025-03-16 12:43:50 +08:00
  • 35eda69cb1 formatting tigregalis 2025-03-15 23:03:03 +08:00
  • 16015d7ea6 Document Fallback trait tigregalis 2025-03-15 22:21:12 +08:00
  • bdd7882a94 set visibility of Fallbacks to pub(crate) tigregalis 2025-03-15 21:37:29 +08:00
  • fb3a7c1a1c Reuse fallbacks tigregalis 2025-03-15 11:42:58 +08:00
  • 7fb685fa13 Pre-compute the fallbacks on FontFallbackIter::new tigregalis 2025-03-15 10:10:37 +08:00
  • ae0fb9b561 Support non-static list of fallbacks tigregalis 2025-03-14 14:27:27 +08:00
  • 9a4d80d116 derive Debug on PlatformFallback tigregalis 2025-03-03 16:29:11 +08:00
  • b32c831f1b export Fallback, PlatformFallback tigregalis 2025-03-03 16:28:53 +08:00
  • a67dded054 Use fallback list via dyn trait in FontSystem tigregalis 2025-03-03 16:14:45 +08:00
  • 4e6d5d731b rm std Stewart Connor 2025-03-28 16:51:07 +11:00
  • 08822cac2e add letter spacing Stewart Connor 2025-03-28 16:41:27 +11:00
  • 03180dd9ee nits Stewart Connor 2025-03-26 17:45:21 +11:00
  • dc03df8986 Add comments Stewart Connor 2025-03-26 17:43:13 +11:00
  • 71b0680e6f revert the references Stewart Connor 2025-03-26 17:06:24 +11:00
  • fb852d3ab5 changes before ref Stewart Connor 2025-03-26 14:48:54 +11:00
  • 1d7850099f pre-removing copy Stewart Connor 2025-03-26 14:31:37 +11:00
  • f5879b3425 add contextual alternatives Stewart Connor 2025-03-21 18:24:32 +11:00
  • 50373cd6d7 formatting Stewart Connor 2025-03-21 18:03:15 +11:00
  • 2d67e31bf1 format Stewart Connor 2025-03-21 17:56:14 +11:00
  • 4b3a6e84ac better defaults Stewart Connor 2025-03-21 17:13:24 +11:00
  • 81ca98d5db more explicit about setting features Stewart Connor 2025-03-21 17:12:38 +11:00
  • d071d1a1c3 add kerning ligatures Stewart Connor 2025-03-19 17:45:30 +11:00
  • 500a8fc6d1 Update test images Simon Ask Ulsnes 2025-03-12 10:00:45 +01:00
  • 0483999799
    0.13.2 Jeremy Soller 2025-03-11 09:45:30 -06:00
  • 813b350563 Fix android build Rob Parrett 2025-03-10 17:17:51 -07:00
  • 60f2c2b0c2
    0.13.1 Jeremy Soller 2025-03-10 11:24:51 -06:00
  • c7a426280b Use chr_idx for ShapeGlyph range in basic shaping valadaptive 2025-03-02 19:58:01 -05:00
  • db9033ba86 Fix glyph start+end indices in "Basic" shaping valadaptive 2025-03-02 14:12:09 -05:00
  • f7ad0bfa60
    0.13.0 Jeremy Soller 2025-03-10 10:57:35 -06:00
  • 974ddaed96
    Update default fonts Jeremy Soller 2025-02-26 07:57:29 -07:00
  • 9125dd48b7
    Update test images Jeremy Soller 2025-01-27 15:38:10 -07:00
  • f3ba8ec8bb
    Load fonts prior to setting defaults Jeremy Soller 2025-01-27 15:33:46 -07:00
  • 1f97cbd747
    Use FreeMono as Braille script fallback, workaround for #237 Jeremy Soller 2025-01-27 12:17:51 -07:00
  • 485497973f chore: updating newfound lints dsgallups 2025-01-22 16:54:18 -05:00
  • e9c809bf28 fix: verifiable MSRV dsgallups 2025-01-22 16:49:53 -05:00
  • f05a69a9d9 resolve all lints, update MSRV dsgallups 2025-01-22 16:29:02 -05:00
  • 166b59f560 Reduce memory usage and loading time of FontSystem HoldMyBeer 2025-01-10 17:15:53 +03:00
  • acb4235101 Update test images Jeremy Soller 2025-01-10 09:26:28 -07:00
  • 1ab7fc213d
    Update swash to 0.2.0 and hook up std feature Jeremy Soller 2025-01-06 13:39:29 -07:00
  • 1de8233119 Hint swash_outline_commands Taj Pereira 2024-12-23 08:53:19 +09:00
  • c8c8aa3fb8 Handle single wrapped line scrolling Before this change, scrolling down when there were multiple layout lines, that rendered beyond the screen, would not work properly. This is because the current logic only acts if there are two or more buffer lines, calculating the proper layout height for each line. Carlos Diaz-Padron 2024-11-21 16:06:47 -05:00
  • 81c9666eaa Add get_outline_commands_uncached Taj Pereira 2024-12-22 06:20:14 +09:00
  • 829a59bd95 Apply fallback font to more Unices Jan Beich 2024-12-13 04:19:56 +01:00
  • 252078cfe4 fix: avoids panic Caleb Yates 2024-12-10 17:52:09 +10:00
  • 1f4065c1c3
    Drop ShapePlanCache Jeremy Soller 2024-11-06 18:59:56 -07:00
  • 4fe90bb612 Fix the character index used for getting a glyph attribute in basic shaping dekrain 2024-09-23 05:00:57 +02:00
  • e8f567cf5b Fix typo in fallback font name Mohammad AlSaleh 2024-09-09 21:46:55 +03:00
  • 9d132f8ebd cache the monospace fallbacks buffer in FontSystem koe 2024-09-01 23:22:27 -05:00
  • 069d3404bf build fixes koe 2024-09-01 23:14:45 -05:00
  • 9dc024616b move ShapeBuffer to FontSystem koe 2024-09-01 23:07:18 -05:00
  • 0935f549ee add alignment option to Buffer::set_rich_text koe 2024-08-31 01:11:04 -05:00
  • c65f299e87 fix no_std koe 2024-09-01 14:05:21 -05:00
  • cdf1e5b4ee fix lint error koe 2024-09-01 14:01:39 -05:00
  • f89e64aa76 cleanup koe 2024-08-31 13:27:48 -05:00
  • b68f4ad5c6 Optimize Buffer::set_rich_text for when the buffer is reconstructed koe 2024-08-31 00:56:21 -05:00
  • c751217020 Add AttrsList::spans_iter and use it in Buffer::append koe 2024-08-30 21:28:21 -05:00
  • caa214a755 Use SmolStr in FamilyOwned instead of String koe 2024-08-30 21:26:31 -05:00
  • 7c25fcb7ae add the convenient API for setting tab width Christian Westrom 2024-09-01 15:45:49 +09:00
  • e16b39f29c Revert "update fontdb, rustybuzz and ttf-parser" Jeremy Soller 2024-08-01 12:45:08 -06:00
  • 6f78d23a8c update fontdb, rustybuzz and ttf-parser MaxVerevkin 2024-08-01 12:28:09 +03:00
  • 58c2ccd1fb
    0.12.1: Make collection of monospace fallback information optional Jeremy Soller 2024-07-31 10:02:11 -06:00
  • 4f31665805 fix for no_std JL710 2024-07-12 16:28:15 +02:00
  • 05374aa34d implement Clone for Editor JL710 2024-07-10 13:43:39 +02:00
  • 0e2d050a8d
    Fix LayoutRunIter returning lines beyond Buffer height Jeremy Soller 2024-07-09 11:21:03 -06:00
  • a03ec6b75f
    0.12.0 Jeremy Soller 2024-06-18 15:44:54 -06:00
  • a82573e650 Do not keep github pages history Jeremy Soller 2024-06-18 09:13:09 -06:00
  • 7677ba388c Revert "Promote Noto Color Emoji fallback" Jeremy Soller 2024-06-17 17:19:31 -06:00
  • 24fb208953
    Downgrade fontdb until iced can update resvg Jeremy Soller 2024-06-15 18:51:57 -06:00
  • 542b20ca43 Upgrade dependencies, and re-export ttf-parser so that dependents can verify fonts using the same ttf-parser version Kristoffer Ödmark 2024-06-15 12:31:23 +02:00
  • 8bb45d7aca
    Shape tabs as spaces, fixes #248 Jeremy Soller 2024-06-12 10:34:19 -06:00
  • a46e992396 add method to set syntax highlighting by file extension Piotr 2024-06-12 17:17:27 +02:00
  • 69d5aec7fc
    Fix infinite loop if scroll is on invalid line Jeremy Soller 2024-06-12 09:42:27 -06:00
  • 93a7df859a Allow for undefined buffer width and/or height, fixes #70 Jeremy Soller 2024-06-12 09:04:04 -06:00
  • cd1cd0a337 Allow syn duplicate until derivative updates its syn dependency Jeremy Soller 2024-06-11 08:45:13 -06:00
  • b288de13ae Allow layout to be calculated without specifying width Jeremy Soller 2024-06-11 08:17:35 -06:00
  • a3a6262e5d Add Edit::cursor_position Pavel Strakhov 2024-06-08 13:16:28 +01:00
  • 320b034f5b Performance improvement in set_tab_width Jeremy Soller 2024-06-10 10:20:12 -06:00
  • 10ae9a9b16 Add an option to set selected text color Pavel Strakhov 2024-04-01 00:08:06 +01:00
  • 3c94352f3f Support expanding tabs Jeremy Soller 2024-06-06 21:01:46 -06:00
  • 56812a8348 Make vertical scroll by pixels instead of layout lines Jeremy Soller 2024-06-10 08:03:48 -06:00
  • 6eb67bb524
    Use default metrics for empty lines, fixes #258 Jeremy Soller 2024-06-07 11:27:49 -06:00
  • 21e88ebc45
    Move line height calculation to LayoutLine Jeremy Soller 2024-06-07 10:52:26 -06:00
  • 31d3ceca51 Only use libm dependency for no_std feature Julian Braha 2024-02-12 18:56:18 +00:00
  • c7100dc989 Format Jeremy Soller 2024-06-06 15:54:04 -06:00
  • 497003e67e Fall back to buffer line height only if no glyphs found Jeremy Soller 2024-06-06 15:52:52 -06:00