Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Tabular figures are no longer equal-width since 2.0.8.

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

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

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
50/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Lĩnh vực
design

Hướng nghiên cứu

The issue is about the font's tabular-nums feature in the opsz builds. Start by examining the font's source files, likely in the 'src' directory, focusing on the OpenType layout tables and how the opsz axis affects glyph metrics. Look for build scripts that generate variable fonts. Test changes by building the font and checking advance widths in a browser or font tool.

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

Mô tả

I use Mona Sans with font-variant-numeric: tabular-nums for numeric columns in a data table. In 2.0 all tnum digits share one advance width. Since 2.0.8, the release that added the opsz axis, they differ, and the difference grows toward display sizes.

Was this change intentional? If it is, is there a way to get equal-width figures in the opsz builds?

Below, 25 × 1 (blue) are overlaid on 25 × 9 (red), wght 400, 56px, one block per build. In 2.0 both lines end at the same point. In 2.0.27 the nines run longer:

Image

Advance widths in Chrome (UPM 1000):

0 1 2–5, 7, 8 6 9
2.0 600 600 600 600 600
2.0.27, opsz 20 600 592 591 592 605
2.0.27, opsz 72 589 565 564 566 591

Was this change intentional? If it is, is there a way to get equal-width figures in the opsz builds?

Ngôn ngữ chính
Shell
Star
4.2k
Fork
117
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 github/mona-sans

Tất cả issue của github/mona-sans

Issue tương tự

Thêm issue về Shell/Bash

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.