Proposal - Custom font support

Đang mở
#66 4 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
22/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi
Công nghệ
zig
Lĩnh vực
desktop

Hướng nghiên cứu

Start in the assets folder, where the bundled CozetteVector font file is loaded, and find the Zig code that reads it at startup. The payload also mentions the cursor file, which is loaded the same way, so check whether that path can be reused. Done would mean a settings option that selects a font file at runtime, with the design of the settings UI and fallback behaviour agreed first, since the issue does not settle either.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

I see that in the assets folder there is font files. So is there a way to to make it so in the settings you can change it by getting another font file? I already tried just renaming my file to CozetteVector and putting it in the assets folder, which worked just fine, it is just a bit weird to have to do that.

Edit: This could also probably be done really easily with the cursor file, as it seems to be handled in a similar way of just grabbing from the file, although it would probably be a lot more complex with different sizes and getting it to work right.

(Love the program btw lowkey thinking about learning Zig just to help with it)

Ngôn ngữ chính
Zig
Star
1.5k
Fork
40
Merge trung bình
7 giờ 16 phút
Pull request đã merge (30 ngày)
762

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fizzyedit/fizzy

Tất cả issue của fizzyedit/fizzy

Issue tương tự

Thêm issue về Desktop Dev

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.