Skip to content

Added glyph rendering capability using go-text/typesetting#339

Open
netDinger wants to merge 5 commits intosignintech:masterfrom
netDinger:feature/ligature-rendering
Open

Added glyph rendering capability using go-text/typesetting#339
netDinger wants to merge 5 commits intosignintech:masterfrom
netDinger:feature/ligature-rendering

Conversation

@netDinger
Copy link
Copy Markdown

Added the glyph rendering and ligatures rendering using go-text/typesetting.
Before:
Screenshot 2025-10-15 at 12 48 25 PM

After:

Screenshot 2025-10-27 at 10 45 17 AM Screenshot 2025-10-27 at 10 50 44 AM

Issues:
go-text/typesetting#204

#293

@oneplus1000
Copy link
Copy Markdown
Collaborator

Hi, I should be free to review the code this weekend.

Comment thread cache_content_text.go Outdated
Comment thread cache_content_text.go Outdated
} else if err != nil {
return err
}
if c.charSpacing != 0 {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

"If" there is something wrong here

Comment thread cache_content_text.go
}

io.WriteString(w, ">] TJ\n")
io.WriteString(w, "ET\n")
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

dead code

Copy link
Copy Markdown
Author

@netDinger netDinger Nov 22, 2025

Choose a reason for hiding this comment

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

I have just fixed that. Kindly review my commit please.

@oneplus1000
Copy link
Copy Markdown
Collaborator

You broke some of the old unittests. And I saw you removed the LiberationSerif-Regular.ttf font from repo. but that's not the point. The point is that even if brought the LiberationSerif-Regular.ttf font back, many unittests would still break.

unitest in signintech:master

Screenshot 2568-11-23 at 21 43 02

unitest in netDinger:feature/ligature-rendering

Screenshot 2568-11-23 at 21 52 01

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants