rhx / SwiftPango

A Swift wrapper around pango-1.x that is largely auto-generated from gobject-introspection
https://rhx.github.io/SwiftPango/
BSD 2-Clause "Simplified" License
2 stars 4 forks source link

can't "swift build" #1

Open renanyoy opened 7 years ago

renanyoy commented 7 years ago

build working with ./build.sh but how I can link this package from another project with swift package manager ?

I just want to use it alone to render text in memoy bitmap

rhx commented 7 years ago

I have added some usage information to the README now.

So far, I have only used Pango in conjunction with Cairo or Gtk, so I don't have any demo on how to use Pango standalone. However, the API is auto-generated from the C version, so if you have a C example, translating this to the Swift class API should be fairly straightforward (let me know if you are having difficulties).