alpha
Login
or
Join now
ptr.pet
/
ghostty
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ghostty
/
pkg
/
macos
/
text
13 files
at
main
Mitchell Hashimoto
Zig 0.15: zig fmt
9mo ago
7ec57aee
c.zig
Zig 0.15: zig fmt
9 months ago
ext.c
pkg/macos: fix zig C ABI issue
3 years ago
font.zig
Zig 0.15: zig fmt
9 months ago
font_collection.zig
pkg/macos: yeet more usingns
2 years ago
font_descriptor.zig
pkg/macos: clean up for Zig 0.14, consolidate C imports into one decl Fixes #6727 The major change in this commit is to consolidate all the C imports in a single decl in main.zig. This is required for Zig 0.14. Without it, the problem in #6727 will happen. I was never able to minimize why this happens in order to open a Zig bug. Beyond this, I fixed the build.zig and build.zig.zon to work with Zig 0.14 so that we can test building `pkg/macos` in isolation. There are no downstream impacting changes in the build.zig files.
1 year ago
font_manager.zig
font(coretext): add metrics test case for CT, fix variable font init Variable font init used to just select the first available predefined instance, if there were any, which is often not desirable- using createFontDescriptorFromData instead of createFontDescritorsFromData ensures that the default variation config is selected. In the future we should probably allow selection of predefined instances, but for now this is the correct behavior. I found this bug when adding the metrics calculation test case for CoreText, hence why fixing it is part of the same commit.
2 years ago
frame.zig
pkg/macos: yeet more usingns
2 years ago
framesetter.zig
pkg/macos: yeet more usingns
2 years ago
line.zig
Zig 0.15: zig fmt
9 months ago
paragraph_style.zig
pkg/macos: yeet more usingns
2 years ago
run.zig
font/coretext: tiny shaper improvements Reduce potential allocation while processing glyphs by ensuring capacity in the buffer ahead of time and also using CTRunGet*Ptr functions first and only allocating for those if that didn't work (it should almost always work in practice.)
9 months ago
stylized_strings.zig
pkg/macos: yeet more usingns
2 years ago
typesetter.zig
fix(font/coretext): always prevent shaper from emitting rtl The solution we had before worked in most cases but there were some which caused problems still. This is what HarfBuzz's CoreText shaper backend does, it uses a CTTypesetter with the forced embedding level attribute. This fixes the failure case I found that was causing non- monotonic outputs which can have all sorts of unexpected results, and causes a crash in Debug modes because we assert the monotonicity while rendering.
9 months ago