pharo-graphics / Alexandrie

FFI bindings and a 2D canvas for Pharo based on Cairo, Freetype and Harfbuzz
MIT License
5 stars 2 forks source link

AeFTFace did not understand #newCairoFontFace #52

Closed tinchodias closed 6 months ago

tinchodias commented 7 months ago

It seems I recently introduced this error:

AeCanvasTest
 ✗ #testFormSelector (0ms)
Instance of AeFTFace did not understand #newCairoFontFace
AeFTFace(Object)>>doesNotUnderstand: #newCairoFontFace
AeCanvas>>scaledFontForFace:size:
AeCanvasTest>>renderLigatureTextWithoutHarfbuzz
AeCanvasTest(AePixelMatchTest)>>actualForm
AeCanvasTest(AePixelMatchTest)>>newPixelComparison
AeCanvasTest(AePixelMatchTest)>>testFormSelector ...newPixelComparison
AeCanvasTest(TestCase)>>performTest
AeCanvasTest(AePixelMatchTest)>>performTest
tinchodias commented 7 months ago

(Extracted from https://github.com/pharo-graphics/Alexandrie/actions/runs/8179200061/job/22395023175?pr=51)

tinchodias commented 7 months ago

It seems to be cause by a missing requirement in the Baseline (from cairo to freetype).

Why? Load in P12:

Metacello new
        baseline: 'Alexandrie';
        repository: 'github://pharo-graphics/Alexandrie:dev/src';
        load.

Get:

Warning: Package Alexandrie-Cairo depends on the following classes:
  AeFTFace
You must resolve these dependencies before you will be able to load these definitions: 
  AeFTFace>>#newCairoFontFace
tinchodias commented 6 months ago

Fixed