Vertical phantom points have the wrong sign

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

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

@lehni đang làm issue này rồi.

Từ ngày 26/10/2026.

  • #422 của @lehni — đang mở

Đá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
25/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
javascript
Lĩnh vực
tooling

Hướng nghiên cứu

The issue explains the sign error but names no source file or test font, and PR #422 is already open against it, so start by reading that PR and the code that builds vertical phantom points. Check the bottom phantom point against top minus advance height, including the gvar/vmtx-without-VVAR path. Done looks like a corrected sign plus a regression test, or a documented reason why no suitable test font could be added; the missing reproduction is the main newcomer blocker.

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

Mô tả

  • fontkit puts the bottom phantom point at the top one plus the advance height, while the spec and HarfBuzz put it at the top minus the advance
  • In a variable font with gvar and vmtx but no VVAR, a gvar delta on the bottom phantom point then changes the vertical advance in the wrong direction
  • I haven't found a test font with this combination yet, so this has no reproduction file
Ngôn ngữ chính
JavaScript
Star
1.7k
Fork
254
Merge trung bình
1 ngày 14 giờ
Pull request đã merge (30 ngày)
28

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 foliojs/fontkit

Tất cả issue của foliojs/fontkit

Issue tương tự

Thêm issue về JavaScript

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.