Skip to content

Fix missing combining marks on last character in a field - #1151

Merged
flyingmutant merged 2 commits into
cmus:masterfrom
gavtroy:dev_emoji
Oct 20, 2022
Merged

flyingmutant merged 2 commits into
cmus:masterfrom
gavtroy:dev_emoji

Conversation

@gavtroy

@gavtroy gavtroy commented Dec 31, 2021 •

Copy link
Copy Markdown
Collaborator

Better tolerate emoji and unrecognized characters

Range is selected based on https://en.m.wikipedia.org/wiki/Emoji#Unicode_blocks

This improves the experience somewhat but it's not really a fix. For that we probably need a library or drop in code.

I.e. fix u_copy_chars() / u_skip_chars() to continue copying zero-width
chars (combining marks) when no display width is left.
@gavtroy gavtroy changed the title Better tolerate emoji and unrecognized characters Fix missing combining marks on last character in a field May 22, 2022
@gavtroy

gavtroy commented May 22, 2022

Copy link
Copy Markdown
Collaborator Author

Reduced the scope of this PR; no longer try to recognize emoji as fullwidth or unrecognized characters as halfwidth. Instead I support the proposal in #1198 as a more comprehensive fix.

@flyingmutant
flyingmutant merged commit 2063444 into cmus:master Oct 20, 2022
bmwiedemann pushed a commit to bmwiedemann/openSUSE that referenced this pull request May 27, 2024
https://build.opensuse.org/request/show/1176840
by user mia + anag+factory
- Update to 2.11.0
  * Add support for .nomedia file
    gh#cmus/cmus#1190
  * Fix a typo in an error message
    gh#cmus/cmus#1206
  * Take opus output gain into account when checking
    replaygain_limit peak
    gh#cmus/cmus#1201
  * #1219: Update Unofficial IRC channel
    gh#cmus/cmus#1220
  * Recognize artist/album sort keys from ffmpeg plugin
    gh#cmus/cmus#1165
  * Fix missing combining marks on last character in a field
    gh#cmus/cmus#1151
  * Use wcwidth for u_char_width
    gh#cmus/cmus#1198
  * Fix under-allocation when many zero-width characters are
    present
    gh#cmus/cmus#1152
  * Draw title and command lines on first update
    gh#cmus/cmus#1257
  * Switch to -latest os in build workflow
    gh#cmus/cmus#1265
  * ip/mp4: Use MP4FindTrackId() rather than assuming it's
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants