Skip to content

CFCharacterSet: implement the bitmap representation functions - #98

Open
DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:fix/cfcharacterset-bitmap
Open

DTW-Thalion wants to merge 1 commit into
gnustep:masterfrom
DTW-Thalion:fix/cfcharacterset-bitmap

Conversation

@DTW-Thalion

Copy link
Copy Markdown
Contributor

CFCharacterSetCreateBitmapRepresentation and
CFCharacterSetCreateWithBitmapRepresentation were stubs that returned NULL. They now
implement the bitmap format: an 8192-byte bitmap for the basic multilingual plane,
followed by a plane-number byte and an 8192-byte bitmap for each non-empty
supplementary plane. A character set round-trips through its bitmap representation.
Verified against Apple CoreFoundation.

CFCharacterSetCreateBitmapRepresentation and
CFCharacterSetCreateWithBitmapRepresentation were stubs that returned NULL. Serialise
the set to the 8192-byte-per-plane bitmap format, writing a plane-number byte before
each non-empty supplementary plane, and parse the same format back.
@DTW-Thalion
DTW-Thalion force-pushed the fix/cfcharacterset-bitmap branch from 7d4d26b to cd7106d Compare July 24, 2026 15:17
@DTW-Thalion DTW-Thalion reopened this Jul 24, 2026
@DTW-Thalion DTW-Thalion reopened this Jul 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant