Text#addFontStyle works incorrectly (Edge)

Đang mở
#512 3 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

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
28/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
javascript
Lĩnh vực
frontend, game-dev

Hướng nghiên cứu

Start from the Text#addFontStyle implementation and compare its behavior in Edge with Firefox, Chrome, and Opera using the linked CodePen example. The report says “the dude” becomes italic in Edge instead of only “the”; check whether addFontWeight or addStrokeColor is involved only if needed. Done means the style is applied to the intended text in Edge.

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

Mô tả

bug help wanted

This Issue is about (pick one, ✏️ delete others)

  • A bug in the API:
    • Phaser version(s): 2.10.2
    • Live example: https://codepen.io/creole/pen/oqeERX
    • What should happen: in Firefox, Chrome and Opera "the" is in italics, "dude" has normal style
    • What happens instead: in Edge "the dude" is in italics

I haven't tested text.addFontWeight and text.addStrokeColor.

Ngôn ngữ chính
JavaScript
Star
1.4k
Fork
485
Merge trung bình
1 ngày 2 giờ
Pull request đã merge (30 ngày)
9

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 phaserjs/phaser-ce

Tất cả issue của phaserjs/phaser-ce

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.