Skip to content

Commit

Permalink
replace externalNewType: by newType:
Browse files Browse the repository at this point in the history
Showed better speed
  • Loading branch information
tinchodias committed Nov 28, 2023
1 parent b57513e commit 4731d2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Extension { #name : #AeHbCairoExample }

{ #category : #'*Alexandrie-HarfbuzzVariableFonts' }
AeHbCairoExample classSide >> exampleDrawVariableFont [
AeHbCairoExample class >> exampleDrawVariableFont [

| fileReference hbBlob hbFace hbFont variations |
fileReference := AeSourceCodeVFDownloadedFont new
Expand Down
2 changes: 1 addition & 1 deletion src/Alexandrie-HarfbuzzVariableFonts/AeHbFace.extension.st
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ AeHbFace >> axisInfos [
| infosArray axisCount axisCountAddress |
axisCount := self variableFontAxisCount.
infosArray := FFIExternalArray
externalNewType: AeHbVariableFontAxisInfo
newType: AeHbVariableFontAxisInfo
size: axisCount.
axisCountAddress := FFIUInt32 newBuffer.
axisCountAddress unsignedLongAt: 1 put: axisCount.
Expand Down

0 comments on commit 4731d2a

Please sign in to comment.