Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cosmic text #10193

Merged
merged 65 commits into from
Jul 4, 2024
Merged

Cosmic text #10193

merged 65 commits into from
Jul 4, 2024

Commits on Jun 16, 2024

  1. Copied each affected file from cosmic-text branch, to fix some weird …

    …issue with rebasing
    
    Co-authored-by: tigregalis <anak.harimau@gmail.com>
    Co-authored-by: tigregalis <38416468+tigregalis@users.noreply.github.com
    TotalKrill and tigregalis committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    9b60187 View commit details
    Browse the repository at this point in the history
  2. update cosmic-text to 0.10.0

    store systemfont atlases in the pipeline
    
    reduce changes introduced due to variable naming
    
    remove the system font implementation for now, in a single commit for easier retrieval later
    
    use Buffer::set_rich_text from cosmic_text instead of own impl
    
    use ID from FontDB::load_font_source
    
    use text Shaping::Advanced over Basic
    
    Remove system_fonts references and code that was left over from before be71200
    
    check-dock and ci
    
    remove cfg for non-existing feature
    remove useless conversions in examples
    
    Revert "use text Shaping::Advanced over Basic" due to performance issues,
    Shaping::Advanced was about 10x slower than Shaping::Basic in debug mode,
    and about 2.2times slower in release mode.
    
    tested with cargo run --example text_debug
    
    This reverts commit 52d1640.
    
    Update crates/bevy_text/Cargo.toml
    
    Co-authored-by: irate <JustTheCoolDude@gmail.com>
    
    Newtype + RustDoc, as per review
    
    impl Debug for FontAtlas
    
    hide byte_index
    
    make SwashCache and FontSystem private, clean up comments
    
    Dont unwrap on swash_cache call
    
    add_glyph returns a Result instead of a boolean
    
    simplified TextError matches
    
    Restore comments, re-export in prelude
    
    Rename FontSystem to CosmicFontSystem
    
    Dont panic on invalid font-sizes
    
    use padding, or else crash
    
    add texture to the glyphinfo
    
    remove unused warnings
    
    update to cosmic-text 0.11
    
    fix forgotten examples
    
    fmt
    
    Fix some changes
    TotalKrill committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    d13442f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b58d3c7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cc5aceb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    60d59b6 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8941eb4 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    85b90e2 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    25b9634 View commit details
    Browse the repository at this point in the history
  9. Some cleanup

    TotalKrill committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    cde816f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    c68736d View commit details
    Browse the repository at this point in the history
  11. Remove unused

    TotalKrill committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    13f0740 View commit details
    Browse the repository at this point in the history
  12. --amend

    TotalKrill committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    e8144af View commit details
    Browse the repository at this point in the history

Commits on Jun 17, 2024

  1. Remove Mutex from Buffer

    nicoburns committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    6ac2155 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #3 from nicoburns/cosmic-text-no-buffer-mutex

    Remove Mutex around `Buffer`
    TotalKrill committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    b8fcd5e View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e7f7149 View commit details
    Browse the repository at this point in the history
  4. fix text scaling

    Dimchikkk committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    3bdda24 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #5 from Dimchikkk/cosmic-text

    fix text scaling
    TotalKrill committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    c4ffaf8 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b963d83 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    7f03e2c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    6ea20ff View commit details
    Browse the repository at this point in the history
  9. fix feature gate

    bytemunch committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    de80986 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2deeb4c View commit details
    Browse the repository at this point in the history
  11. Apply suggestions from code review

    Co-authored-by: Alice Cecile <alice.i.cecile@gmail.com>
    TotalKrill and alice-i-cecile committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    ed658c9 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    14621b5 View commit details
    Browse the repository at this point in the history
  13. Move not to fonts

    TotalKrill committed Jun 17, 2024
    Configuration menu
    Copy the full SHA
    38f75e3 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    ec9d33e View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    ac33b83 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    1995716 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    064550a View commit details
    Browse the repository at this point in the history

Commits on Jun 18, 2024

  1. Configuration menu
    Copy the full SHA
    83e1184 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9795a3b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5f0cd22 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #8 from tigregalis/ct-metadata-ok

    Remove todo: We can use `metadata`
    TotalKrill committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    5edb96c View commit details
    Browse the repository at this point in the history
  5. Merge pull request #9 from tigregalis/ct-no-mutex

    Remove last mutex on font system
    TotalKrill committed Jun 18, 2024
    Configuration menu
    Copy the full SHA
    e3731d2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    eb4305c View commit details
    Browse the repository at this point in the history

Commits on Jun 19, 2024

  1. Configuration menu
    Copy the full SHA
    4cb8a86 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #10 from nicoburns/cosmic-text-family-names

    Fix borrow checking issues around family names
    TotalKrill committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    4c3dbcc View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b361099 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    43afc67 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #11 from rparrett/cosmic-text-ui-scaling

    Fix `ui_scaling` example failing to compile
    TotalKrill committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    a70287c View commit details
    Browse the repository at this point in the history
  6. fix failing tests

    TotalKrill committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    d259f38 View commit details
    Browse the repository at this point in the history
  7. in clippy we trust

    TotalKrill committed Jun 19, 2024
    Configuration menu
    Copy the full SHA
    9317827 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    c0d7363 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0a5f0c5 View commit details
    Browse the repository at this point in the history

Commits on Jun 20, 2024

  1. round line_y

    Dimchikkk committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    81c1535 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3c1938 View commit details
    Browse the repository at this point in the history
  3. Merge pull request #13 from rparrett/cosmic-text-merge-artifacts

    Fix merge artifact
    TotalKrill committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    1e29a56 View commit details
    Browse the repository at this point in the history
  4. Merge pull request #12 from Dimchikkk/ctf

    round line_y
    TotalKrill committed Jun 20, 2024
    Configuration menu
    Copy the full SHA
    e2d9c1e View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2024

  1. Configuration menu
    Copy the full SHA
    89b912e View commit details
    Browse the repository at this point in the history
  2. Merge pull request #14 from rparrett/cosmic-text-cleanup-todo

    Cleanup resolved TODO comments
    TotalKrill committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    e8b3d1c View commit details
    Browse the repository at this point in the history
  3. fix doc comment

    tigregalis committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    435917e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3463d18 View commit details
    Browse the repository at this point in the history
  5. Update example

    tigregalis committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    792d9d0 View commit details
    Browse the repository at this point in the history
  6. Merge pull request #16 from tigregalis/ct-text-alignment

    Use cosmic-text's text alignment
    TotalKrill committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    3b743c3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #15 from tigregalis/ct-fix-doc-comment

    fix doc comment
    TotalKrill committed Jun 23, 2024
    Configuration menu
    Copy the full SHA
    6e0982e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    bbcff90 View commit details
    Browse the repository at this point in the history

Commits on Jun 24, 2024

  1. Configuration menu
    Copy the full SHA
    78ae9d6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    60098d4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fcaa22d View commit details
    Browse the repository at this point in the history
  4. rename in doc comment

    tigregalis committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    addcd0a View commit details
    Browse the repository at this point in the history
  5. Merge pull request #18 from tigregalis/ct-text-bounds

    Text bounds
    TotalKrill committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    f0e18a3 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2024

  1. Merge pull request #17 from rparrett/cosmic-text-wrap

    Add "word or glyph" linebreaking
    TotalKrill committed Jun 26, 2024
    Configuration menu
    Copy the full SHA
    a62d6aa View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d5df246 View commit details
    Browse the repository at this point in the history

Commits on Jul 4, 2024

  1. Configuration menu
    Copy the full SHA
    17e3e64 View commit details
    Browse the repository at this point in the history
  2. fix lint

    TotalKrill committed Jul 4, 2024
    Configuration menu
    Copy the full SHA
    de4eb09 View commit details
    Browse the repository at this point in the history