Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Support for fs.FS (for embedded files, ideally) and module support#171

Open
jbuchbinder wants to merge 2 commits intofogleman:master from
jbuchbinder:embed-support
Open

Support for fs.FS (for embedded files, ideally) and module support #171
jbuchbinder wants to merge 2 commits intofogleman:master from
jbuchbinder:embed-support

Conversation

@jbuchbinder
Copy link

@jbuchbinder jbuchbinder commented May 22, 2022

This adds support for fs.FS filesystems (which are used for go:embed directives, etc) as well as go module support.

lordofscripts reacted with thumbs up emoji
Copy link

@fogleman I'm particularly interested in this PR. Do you want/need any help reviewing it? Are you looking for contributors/admins to help you manage this package?

Copy link

sbinet commented May 4, 2023

FYI, I have added something along these lines in "my" fork of gg:

Copy link

@lordofscripts lordofscripts Jan 14, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line #170 within LoadFontFace there is an error, it uses fS.Open() in a block where fS has a nil value. It appears to me the developer actually meant to check for fS == nil on the previous if statement for that to hold true.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

2 more reviewers

@lordofscripts lordofscripts lordofscripts left review comments

@f1mishutka f1mishutka f1mishutka approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /