-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Package too big, is there a work-around? #20
Comments
Thank you for the report, @fsvaren ! According to this: golang/go#40780 (comment) |
Lovely! |
I'm working on it right now... It looks like it might have to be a two-step process... two separate releases. |
Awesome, would it be possible to use an older release with fewer fonts in the meantime? |
Sure. |
I believe this issue is now solved with release glenn@glenn-OMEN-875 /tmp/i20 $ cat main.go
import (
"github.com/gmlewis/go-fonts/fonts"
_ "github.com/gmlewis/go-fonts/fonts/ubuntumonoregular"
)
glenn@glenn-OMEN-875 /tmp/i20 $ go get github.com/gmlewis/go-fonts/fonts
go: downloading github.com/gmlewis/go-fonts v0.16.0
go: added github.com/fogleman/gg v1.3.0
go: added github.com/gmlewis/go-fonts v0.16.0
go: added github.com/gmlewis/go3d v0.0.4
go: added github.com/gmlewis/ponoko2d v0.0.0-20190404133045-d77d370bec9a
go: added github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0
go: added github.com/yofu/dxf v0.0.0-20190710012328-5a6d1e83f16c
go: added golang.org/x/image v0.15.0
go: added google.golang.org/protobuf v1.34.1 Closing as fixed. |
Fantastic, thank you! |
I had to visit the URL: https://pkg.go.dev/github.com/gmlewis/[email protected] Thank you, @fsvaren ... you are greatly appreciated! |
It turns out that this repo is just too large Reopening issue in order to work on this. |
For the least disruptive change, I'm thinking of breaking this up by the first letter of the name of the font... lowercase a-z:
Please let me know if there are any objections. |
I believe this is now resolved and the documentation is available here: From the README.md: As of version They are now organized by the first letter of the name of the font:
Closing issue as resolved. |
Describe the bug
When trying to use this, I always run into this problem:
Probably because of all the fonts included, is there a way around it except forking and remove things not needed?
To Reproduce
Create an empty file and paste what is in the example:
go get github.com/gmlewis/go-fonts/fonts
Expected behavior
A usable package downloaded to use the fonts
The text was updated successfully, but these errors were encountered: