benoitkugler / textlayout

Fonts and text layout for Golang
MIT License
47 stars 7 forks source link

Export harfbuzz.guessSegmentProperties() #13

Closed pgundlach closed 2 years ago

pgundlach commented 2 years ago

I am coming from the c/++ Harfbuzz library and use GuessSegmentProperties to fill in the properties.

It seems that you have implemented this as well. Could you export the guessSegmentProperties in buffer.go? That way we could use it as a library.

BTW: this is a totally awesome project!

benoitkugler commented 2 years ago

Sure thing, done in commit cac79cb (tag v0.1.2)

BTW: this is a totally awesome project!

Thanks !