@@ -99,11 +99,11 @@ AeHbBuffer >> cairoGlyphArrayForFace: freetypeFace size: fontSize [
99
99
length = 0 ifTrue: [ ^ AeCairoGlyphArray newOf: 0 ].
100
100
101
101
infos := FFIExternalArray
102
- fromHandle: (self getGlyphInfosOn : ExternalAddress null)
102
+ fromHandle: (self getGlyphInfosInto : ExternalAddress null)
103
103
type: AeHbGlyphInfo
104
104
size: length.
105
105
positions := FFIExternalArray
106
- fromHandle: (self getGlyphPositionsOn : ExternalAddress null)
106
+ fromHandle: (self getGlyphPositionsInto : ExternalAddress null)
107
107
type: AeHbGlyphPosition
108
108
size: length.
109
109
@@ -172,7 +172,7 @@ AeHbBuffer >> flags: flags [
172
172
]
173
173
174
174
{ #category : #' accessing - output' }
175
- AeHbBuffer >> getGlyphInfosOn : aPointer [
175
+ AeHbBuffer >> getGlyphInfosInto : aPointer [
176
176
" Returns a collection of `AeHbGlyphInfo` with glyph information. Returned pointer is valid as long as buffer contents are not modified.
177
177
178
178
See: https://harfbuzz.github.io/harfbuzz-hb-buffer.html#hb-buffer-get-glyph-infos"
@@ -186,7 +186,7 @@ AeHbBuffer >> getGlyphInfosOn: aPointer [
186
186
]
187
187
188
188
{ #category : #' accessing - output' }
189
- AeHbBuffer >> getGlyphPositionsOn : aPointer [
189
+ AeHbBuffer >> getGlyphPositionsInto : aPointer [
190
190
" See: https://harfbuzz.github.io/harfbuzz-hb-buffer.html#hb-buffer-get-glyph-positions"
191
191
192
192
^ self ffiCall: #(
@@ -203,7 +203,7 @@ AeHbBuffer >> glyphInfos [
203
203
204
204
| lengthPointer aHandle |
205
205
lengthPointer := FFIUInt32 newBuffer.
206
- aHandle := self getGlyphInfosOn : lengthPointer.
206
+ aHandle := self getGlyphInfosInto : lengthPointer.
207
207
" Library has responsability to free it."
208
208
209
209
^ FFIExternalArray
@@ -219,7 +219,7 @@ AeHbBuffer >> glyphPositions [
219
219
220
220
| lengthPointer aHandle |
221
221
lengthPointer := FFIUInt32 newBuffer.
222
- aHandle := self getGlyphPositionsOn : lengthPointer.
222
+ aHandle := self getGlyphPositionsInto : lengthPointer.
223
223
" Library has responsability to free."
224
224
225
225
^ FFIExternalArray
0 commit comments