Mitchell Hashimoto
efd196e5c9
pkg/freetype: unknown errors should be reported, not unreachable
2024-01-05 21:08:39 -08:00
Mitchell Hashimoto
3fc5b02d73
pkg/fontconfig: move some dependencies to our own mirror
...
These are unmodified, so users can still verify the checksum with the
official downloads if they feel unsafe.
2024-01-02 15:27:59 -08:00
Kyaw
22d631942c
font/coretext: use CTFontCopyFamilyName
...
Use `CTFontCopyFamilyName` instead of `CTFontCopyDisplayName` to get
the font name to match the behavior of how it's done on freetype
backend.
2023-12-15 02:26:47 +06:30
Mitchell Hashimoto
489ed57e2f
font/harfbuzz: track x/y offsets
2023-12-11 21:41:13 -08:00
Mitchell Hashimoto
cc0b615552
pkg/macos: more APIs
2023-12-11 20:48:45 -08:00
Mitchell Hashimoto
0137f5b0d3
pkg/macos: add many more text APIs
2023-12-11 11:12:29 -08:00
Mitchell Hashimoto
ff68c56268
pkg/macos: implement CTRun
2023-12-11 11:12:28 -08:00
Carlos Alexandro Becker
25856d62aa
Remove FiraCode leftovers
...
from #993
Signed-off-by: Carlos Alexandro Becker <caarlos0@users.noreply.github.com>
2023-12-06 13:36:05 -03:00
Krzysztof Wolicki
0750698b62
Update to latest master,
...
update libxev dependency,
change mach_glfw to an updated fork until upstream updates
2023-11-30 21:41:33 +01:00
Mitchell Hashimoto
5db002cb12
renderer/metal: underline urls
2023-11-29 15:30:21 -08:00
Mitchell Hashimoto
27585ae18a
pkg/oniguruma: better regex api
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
364020973c
pkg/oniguruma: search
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
4d3c7212d8
pkg/oniguruma: init regex object
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
c0a06ab523
pkg/oniguruma: basic build
2023-11-29 15:29:43 -08:00
Mitchell Hashimoto
76c76ce85e
renderer/opengl: upload kitty image textures
2023-11-19 22:08:07 -08:00
Mitchell Hashimoto
c8a51a2158
renderer/opengl: create the screen texture
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
47971e7663
renderer/opengl: setup uniform buffer objects for custom shaders
2023-11-17 21:51:06 -08:00
Mitchell Hashimoto
1fedc912f0
renderer/opengl: create ubos
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
fb0929a11b
renderer/opengl: extract cell program state to dedicated struct
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
3aa217ad2e
pkg/opengl: add Framebuffer APIs
2023-11-17 21:51:05 -08:00
Mitchell Hashimoto
8576acb89e
renderer/opengl: move opengl API to pkg/opengl
2023-11-17 21:51:04 -08:00
Mitchell Hashimoto
01a73994cb
renderer/metal: setup sampler state
2023-11-17 21:50:53 -08:00
Mitchell Hashimoto
dba78b20ca
renderer: shadertoy convert to MSL
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
1bd92619b1
renderer: shadertoy functions
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
3a4aef2dcd
pkg/spirv-cross: correct c header
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
7821e6aa3a
pkg/spirv-cross
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
6634ccc09c
pkg/spirv-cross
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
9715eef388
pkg/glslang: build SPIRV lib
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
54ee8c1e3d
pkg/glslang: complete the API
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
4afaea19d6
pkg/glslang: shader api
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
6ebbea84d5
pkg/glslang: can build
2023-11-17 21:50:35 -08:00
Mitchell Hashimoto
0230222c0d
pkg/macos: add CoreVide for DisplayLink
2023-11-17 21:50:34 -08:00
Krzysztof Wolicki
44a48f62f1
change unmodified var
s to const
s in anticipation of zig changes
2023-11-17 15:46:46 +01:00
Mitchell Hashimoto
4781a83e4a
replace utf8proc with ziglyph
2023-11-07 13:17:56 -08:00
Mitchell Hashimoto
cb684e35cc
font/coretext: discovery scoring should take into account symb. traits
...
Fixes #707
Our scoring algorithm previously did not take into account symbolic
traits, so when `bold = false and italic = false`, regular, bold, italic
would all be equally likely to appear first.
This modifies our scoring algorithm to prioritize matching symbolic
traits. Further, we have a special case for no symbolic traits to
prioritize "Regular" named styles. We can expand this to other styles
too but we do not do this here.
We also modified the algorithm to always prefer fonts with more glyphs
over fonts with less, hopeful that we can load fewer fonts for other
glyphs later.
2023-11-03 22:21:34 -07:00
Mitchell Hashimoto
55f681a0fd
inspector is scaled to native dpi
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
e62a8bbaae
pkg/cimgui: use freetype for font rendering
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
a6dfad9689
pkg/cimgui: requires libcpp
2023-10-24 15:27:15 -07:00
Mitchell Hashimoto
9fb4497675
pkg/cimgui: add osx backend
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
3ac6e8392d
pkg/cimgui: add metal backend
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
869e4133f1
apprt/gtk: can render imgui
2023-10-24 15:27:14 -07:00
Mitchell Hashimoto
efddef9d1c
build: add cimgui to build
2023-10-24 15:27:13 -07:00
Mitchell Hashimoto
aaa74c40c3
pkg/cimgui
2023-10-24 15:27:13 -07:00
Mitchell Hashimoto
cbdf52864a
Merge pull request #704 from der-teufel-programming/windows-test
...
Get `zig build test` working on Windows
2023-10-23 08:52:43 -07:00
Mitchell Hashimoto
b9b33ab25d
pkg/fontconfig: make iconv build param non-windows specific
2023-10-23 08:40:25 -07:00
Mitchell Hashimoto
4cb185c593
pkg/harfbuzz: update to 8.2.2
2023-10-20 09:10:34 -07:00
Krzysztof Wolicki
b830deb8a9
pkg/fontconfig: windows check more readable
2023-10-19 17:21:23 +02:00
Krzysztof Wolicki
3936b471a8
Disable iconv on Windows by default (enabled via cli flag).
...
Skip various tests not implemented on windows.
2023-10-19 09:39:20 +02:00
James Tucker
5007e90ae5
pkg/fontconfig: move defines to fix x86_64-windows targets
...
Some targets were duplicated in the all-targets definition list that
will not build for a Windows target. They're all moved to the
non-Windows configuration. The target now builds against a mingw64
prefix with the appropriate dependencies installed.
Updates #437
2023-10-17 23:24:20 -07:00
Mitchell Hashimoto
eda0e8ad04
pkg/apple-sdk: update to not have any broken symlinks
2023-10-17 13:11:27 -07:00