Ethsim2
(Ethan )
15 يوليو 2026، 9:53م
1
عند زيارة تقويم “الأحداث القادمة” في متصفح Firefox، أرى تحذيرات متكررة تتعلق بخط fcicons الخاص بـ FullCalendar.
الصفحة التي تم اختبارها:
/upcoming-events/week/2026/7/13
الإصدار المثبت
Discourse 2026.7.0-latest +314
التزامن Git cf0d9228b4
Ember v6.10.1
تحذير وحدة التحكم
downloadable font: Glyph bbox was incorrect; adjusting (font-family: "fcicons")
تشير التحذيرات إلى الأحرف 4، 5، 6، 7، و 10.
يبدو أن التقويم لا يزال يعمل بشكل طبيعي.
هذا يتطابق مع مشكلة مؤكدة موجودة مسبقًا في FullCalendar:
opened 02:16PM - 24 Feb 25 UTC
Confirmed
Alt Environment
### Reduced Test Case
https://fullcalendar.io/demos
### Do you understand that… if a reduced test case is not provided, we will intentionally delay triaging of your ticket?
- [x] I understand
### Which connector are you using (React/Angular/etc)?
No connector (vanilla JS)
### Bug Description
While doing some early testing with v7.0.0 I realized some browser console nagging in Firefox.
```
downloadable font: Glyph bbox was incorrect (glyph ids 4 5 6 7 10) (font-family: "fcicons" style:normal weight:400 stretch:100 src index:0) source: data:application/x-font-ttf;charset=utf-8;base64,...
```
It has nothing to do with actual functionality (calendar works fine). And actually there's the same nagging with v6.1.15, so nothing newly introduced. I just never realized so far.
The nagging can be easily observed in the default demos - with Firefox.
I hope, this is the right queue for such a report? Font-family fcicons probably means, this font is custom - or is this based on some really old font-awesome glyphs?
هناك أيضًا طلب سحب مفتوح يحتوي على إصلاح مقترح:
main ← cketti:fix-font-warning
opened 01:25AM - 26 Jun 25 UTC
The `fcicons` font contains glyphs with bounding boxes that are too small for it… s contents. This might be a bug in the tool that created the font (IcoMoon?).
Browsers use [OpenType Sanitizer](https://github.com/khaledhosny/ots) to sanitize font data. Firefox is outputting some of the warnings in the developer console (see #7895).
I used OpenType Sanitizer ([ee75ff5dcef67fcd3ea7255044c889349e210750](https://github.com/khaledhosny/ots/tree/ee75ff5dcef67fcd3ea7255044c889349e210750)) to fix up the font data in `icons.css`.
You should be able to recreate this change using the following commands:
```shell
# Extract base64-encoded font data, decode it, and write to fcicons.ttf
grep -oP '(?<=base64,)[^"]+(?=")' icons.css | base64 -d > fcicons.ttf
# Use OTS to sanitize fcicons.ttf; write result to fcicons-sanitized.ttf
ots-sanitize fcicons.ttf fcicons-sanitized.ttf
# Update icons.css with the sanitized font data
sed -i -E "s#base64,[^\"]+#base64,$(base64 -w0 fcicons-sanitized.ttf)#" icons.css
```
Fixes #7895
تم فتح مشكلة FullCalendar في 24 فبراير 2025، وتم تقديم الإصلاح المقترح في 26 يونيو 2025، لكن كليهما لا يزال مفتوحًا.
أبلغ عن هذه المشكلة بشكل منفصل عن مشكلة تحديد معدل الطلبات لأن رسائل وحدة التحكم الاثنين تبدو غير مرتبطة.
على ما يبدو، سيتطلب هذا دمج الإصلاح من المصدر وتضمينه في إصدار من FullCalendar قبل أن يتمكن Discourse من استلامه. هل هذا صحيح؟
إعجاب واحد (1)
[quote=“Ethsim2, post:1, topic:407739”]
على الأرجح سيتطلب ذلك دمج الإصلاح من المصدر العلوي وإدراجه في إصدار من FullCalendar قبل أن يتمكن Discourse من استلامه
[/quote]\n
نعم، هذا صحيح، والأفضل أن يقوموا بإصلاح هذه المشكلة من جانبهم حتى لا نختلف في التنفيذ.
إعجابَين (2)