10
66
Fork
You've already forked fcft
14

WIP: fcft: add fcft_rasterize_*_utf8() #94

Draft
dnkl wants to merge 1 commit from rasterize-utf8 into master
pull from: rasterize-utf8
merge into: dnkl:master
dnkl:master
dnkl:colrv1
dnkl:releases/3.3
dnkl:spacing
dnkl:releases/3.2
dnkl:releases/3.1
dnkl:releases/3.0
dnkl:releases/2.5
dnkl:releases/2.4
dnkl:releases/2.3
dnkl:releases/2.2
dnkl:releases/2.1
dnkl:releases/2.0
dnkl:releases/1.0
Owner
Copy link

This adds UTF-8 variants of the rasterize functions.

  • They are slower than their UTF-32 counterpart, since they convert from UTF-8 to UTF-32 every time they're called
  • They: do very basic codepoint validation, but does not guarantee all invalid UTF-8 sequences are detected. This isn't much different from the UTF-32 variants, where we also do not try to detect, or reject, invalid codepoints.
  • If an invalid sequence is detected, nothing is rasterized and NULL is returned.

Closes #46

This adds UTF-8 variants of the rasterize functions. * They are slower than their UTF-32 counterpart, since they convert from UTF-8 to UTF-32 every time they're called * They: do very basic codepoint validation, but does not guarantee all invalid UTF-8 sequences are detected. This isn't much different from the UTF-32 variants, where we also do not try to detect, or reject, invalid codepoints. * **If** an invalid sequence is detected, nothing is rasterized and NULL is returned. Closes #46
dnkl changed title from (削除) fcft: add fcft_rasterize_*_utf8() (削除ここまで) to WIP: fcft: add fcft_rasterize_*_utf8() 2025年06月10日 07:22:25 +02:00
dnkl force-pushed rasterize-utf8 from d795b6043d
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
builds.sr.ht/freebsd-x64 Job completed
ci/woodpecker/pr/woodpecker Pipeline was successful
to 3df50f281a
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
builds.sr.ht/freebsd-x64 Job completed
ci/woodpecker/pr/woodpecker Pipeline was successful
2025年06月24日 12:19:29 +02:00
Compare
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
builds.sr.ht/freebsd-x64 Job completed
ci/woodpecker/pr/woodpecker Pipeline was successful
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin rasterize-utf8:rasterize-utf8
git switch rasterize-utf8

Merge

Merge the changes and update on Forgejo.
git switch master
git merge --no-ff rasterize-utf8
git switch rasterize-utf8
git rebase master
git switch master
git merge --ff-only rasterize-utf8
git switch rasterize-utf8
git rebase master
git switch master
git merge --no-ff rasterize-utf8
git switch master
git merge --squash rasterize-utf8
git switch master
git merge --ff-only rasterize-utf8
git switch master
git merge rasterize-utf8
git push origin master
Sign in to join this conversation.
No reviewers
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
dnkl/fcft!94
Reference in a new issue
dnkl/fcft
No description provided.
Delete branch "rasterize-utf8"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?