Skip to content

Add face.getGlyphInfosAndPositions()#170

Merged
khaledhosny merged 2 commits intomainfrom
infos-and-positions
Feb 24, 2026
Merged

Add face.getGlyphInfosAndPositions()#170
khaledhosny merged 2 commits intomainfrom
infos-and-positions

Conversation

@khaledhosny
Copy link
Contributor

Fixes #169

@khaledhosny
Copy link
Contributor Author

khaledhosny commented Feb 24, 2026

@justvanrossum @behdad Should we keep the hidden properties of getGlyphInfos() and getGlyphPositions() or drop them?

@justvanrossum
Copy link
Contributor

I need those properties, but they can be hidden if you prefer.

@khaledhosny
Copy link
Contributor Author

I need those properties, but they can be hidden if you prefer.

getGlyphInfosAndPositions() have them, should the separate getGlyphInfos() and getGlyphPositions() keep them (in other words, would you still need them there or having them in getGlyphInfosAndPositions() would be enough)?

@justvanrossum
Copy link
Contributor

Ah sorry, I misunderstood. I have no optinion, as I will likely be using getGlyphInfosAndPositions() exclusively.

@behdad
Copy link
Member

behdad commented Feb 24, 2026

Leaning towards just this new API.

They are exposed in getGlyphInfosAndPositions() now.
@khaledhosny khaledhosny merged commit 777f6c3 into main Feb 24, 2026
2 checks passed
@khaledhosny khaledhosny deleted the infos-and-positions branch February 24, 2026 12:33
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.

getGlyphInfos() getGlyphPositions(): make private properties public?

3 participants