* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
@ 2021-10-12 11:15 Utkarsh Singh
2021-10-13 11:39 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Utkarsh Singh @ 2021-10-12 11:15 UTC (permalink / raw)
To: 51155
Hi,
On 2021-09-21, Arch Linux updated their Cantarell font package, which
removed classic font with variable fonts. According to Jan Alexander
Steffens (package maintainer):
> Yeah, we only packaged VF because upstream requested to either package
> the classic fonts *or* the variable font. The VF is more powerful as
> it not just contains all the classic weights but can also interpolate
> between them.
But with these changes Emacs in now unable to distinguish between light
and regular weights. To reproduce the bug you would have to:
1. Install latest version of font from upstream:
<https://gitlab.gnome.org/GNOME/cantarell-fonts>
2. Evaluate in "emacs -Q" session:
(progn
(set-face-attribute 'variable-pitch nil :family "Cantarell" :weight 'regular)
(face-font 'variable-pitch))
Also see bug report on Arch Linux bug tracker:
<https://bugs.archlinux.org/task/72212>
--
Utkarsh Singh
https://utkarshsingh.xyz/
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-12 11:15 bug#51155: 29.0.50; Incorrect weight used in Cantarell VF Utkarsh Singh
@ 2021-10-13 11:39 ` Eli Zaretskii
2021-10-13 14:36 ` Utkarsh Singh
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-13 11:39 UTC (permalink / raw)
To: Utkarsh Singh; +Cc: 51155
> From: Utkarsh Singh <utkarsh190601@gmail.com>
> Date: Tue, 12 Oct 2021 16:45:41 +0530
>
> On 2021-09-21, Arch Linux updated their Cantarell font package, which
> removed classic font with variable fonts. According to Jan Alexander
> Steffens (package maintainer):
>
> > Yeah, we only packaged VF because upstream requested to either package
> > the classic fonts *or* the variable font. The VF is more powerful as
> > it not just contains all the classic weights but can also interpolate
> > between them.
>
> But with these changes Emacs in now unable to distinguish between light
> and regular weights. To reproduce the bug you would have to:
>
> 1. Install latest version of font from upstream:
> <https://gitlab.gnome.org/GNOME/cantarell-fonts>
>
> 2. Evaluate in "emacs -Q" session:
> (progn
> (set-face-attribute 'variable-pitch nil :family "Cantarell" :weight 'regular)
> (face-font 'variable-pitch))
>
> Also see bug report on Arch Linux bug tracker:
> <https://bugs.archlinux.org/task/72212>
What are the numerical values of weight in these fonts?
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 11:39 ` Eli Zaretskii
@ 2021-10-13 14:36 ` Utkarsh Singh
2021-10-13 15:35 ` Utkarsh Singh
0 siblings, 1 reply; 11+ messages in thread
From: Utkarsh Singh @ 2021-10-13 14:36 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 51155
On 2021-10-13, 14:39 +0300, Eli Zaretskii <eliz@gnu.org> wrote:
> What are the numerical values of weight in these fonts?
Can you please tell me how I can get this info?
--
Utkarsh Singh
https://utkarshsingh.xyz/
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 14:36 ` Utkarsh Singh
@ 2021-10-13 15:35 ` Utkarsh Singh
2021-10-13 16:11 ` Eli Zaretskii
0 siblings, 1 reply; 11+ messages in thread
From: Utkarsh Singh @ 2021-10-13 15:35 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 51155
[-- Attachment #1: Type: text/plain, Size: 512 bytes --]
On 2021-10-13, 20:06 +0530, Utkarsh Singh <utkarsh190601@gmail.com> wrote:
> On 2021-10-13, 14:39 +0300, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> What are the numerical values of weight in these fonts?
>
> Can you please tell me how I can get this info?
Weight table:
| Face | Weight |
|------------+--------|
| Extra bold | 205 |
| Bold | 200 |
| Regular | 80 |
| Light | 50 |
Also see fc-query output attached with this email.
--
Utkarsh Singh
https://utkarshsingh.xyz/
[-- Attachment #2: query-output --]
[-- Type: text/plain, Size: 14249 bytes --]
Pattern has 26 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
style: "Regular"(s)
stylelang: "en"(s)
fullname: "Cantarell Regular"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 80(f)(s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 0(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "Cantarell-Regular"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 26 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
style: "Thin"(s)
stylelang: "en"(s)
fullname: "Cantarell Thin"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 0(f)(s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 65536(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "Cantarell_100wght"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 26 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
style: "Light"(s)
stylelang: "en"(s)
fullname: "Cantarell Light"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 50(f)(s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 131072(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "Cantarell_300wght"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 26 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
style: "Bold"(s)
stylelang: "en"(s)
fullname: "Cantarell Bold"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 200(f)(s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 262144(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "Cantarell_700wght"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 26 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
style: "Extra Bold"(s)
stylelang: "en"(s)
fullname: "Cantarell Extra Bold"(s)
fullnamelang: "en"(s)
slant: 0(i)(s)
weight: 205(f)(s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 327680(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
postscriptname: "Cantarell_800wght"(s)
color: False(s)
symbol: False(s)
variable: False(s)
fonthashint: False(s)
order: 0(i)(s)
Pattern has 21 elts (size 32)
family: "Cantarell"(s)
familylang: "en"(s)
slant: 0(i)(s)
weight: [0 205](s)
width: 100(f)(s)
foundry: "ABAT"(s)
file: "/usr/share/fonts/cantarell/Cantarell-VF.otf"(s)
index: 0(i)(s)
outline: True(s)
scalable: True(s)
charset:
0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff
0001: ffffffff fff3ffff fffffdff 7fffffff 00048000 00018003 1ffffff0 fc000cc0
0002: 0fffffff 008f3c00 02000000 00000000 00000000 de000000 3f001fc0 00000000
0003: 0806bfdf 01e243d8 00000000 04200000 ffffd770 fffffffb 00807fff 00000000
0004: ffffffff ffffffff ffffffff 003c0c0c 3fff0000 0fcfcc3f f3ff9807 03ffc3fc
0005: 3c000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
001e: 30f0f300 0cc3cc33 cc0ff3fc 0f00f3ff 408cc03f ffffffff ffffffff 03ffffff
001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff 6fcfffdf 7fdcffff
0020: 773f0fff 063d0047 00040010 03f10000 000003ff 37367ada 00000000 00000000
0021: 00480000 00004044 ffff0000 00000000 000f0200 00000000 00000000 00000000
0022: 46268064 00400800 00000100 00000037 00000000 00000000 00000000 00000000
0024: 00000000 00000008 00000000 00000000 00000000 00000000 00000000 00000000
0025: 00000000 00000000 00000000 00000000 00000000 00000000 00008c00 00000000
0027: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000300
00a7: 00000000 00000000 00000000 00000000 00001800 00000000 00000000 00000000
00fb: 00000006 00000000 00000000 00000000 00000000 00000000 00000000 00000000
(s)
lang: aa|ast|av|ay|az-az|ba|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cv|cy|da|de|el|en|eo|es|et|eu|fi|fj|fo|fr|fur|fy|gd|gl|gn|gv|haw|ho|hr|hu|ia|ig|id|ie|ik|io|is|it|kaa|ki|kk|kl|ku-am|kum|kv|kw|ky|la|lb|lez|lt|lv|mg|mh|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|se|sel|sh|sk|sl|sm|sma|smj|smn|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tyv|uk|uz|vi|vo|vot|wa|wen|wo|xh|yap|zu|an|crh|csb|fil|hsb|ht|jv|kj|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|pap-an|pap-aw|qu|quz|rn|rw|sc|sg|sn|su|ty|za(s)
fontversion: 19857(i)(s)
capability: "otlayout:DFLT otlayout:latn"(s)
fontformat: "CFF"(s)
decorative: False(s)
color: False(s)
symbol: False(s)
variable: True(s)
fonthashint: False(s)
order: 0(i)(s)
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 15:35 ` Utkarsh Singh
@ 2021-10-13 16:11 ` Eli Zaretskii
2021-10-13 20:29 ` Lars Ingebrigtsen
0 siblings, 1 reply; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-13 16:11 UTC (permalink / raw)
To: Utkarsh Singh; +Cc: 51155
> From: Utkarsh Singh <utkarsh190601@gmail.com>
> Cc: 51155@debbugs.gnu.org
> Date: Wed, 13 Oct 2021 21:05:05 +0530
>
> >> What are the numerical values of weight in these fonts?
> >
> > Can you please tell me how I can get this info?
>
> Weight table:
>
> | Face | Weight |
> |------------+--------|
> | Extra bold | 205 |
> | Bold | 200 |
> | Regular | 80 |
> | Light | 50 |
I think that's the problem: Emacs thinks that Regular should have the
weight of 100, see font.c.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 16:11 ` Eli Zaretskii
@ 2021-10-13 20:29 ` Lars Ingebrigtsen
2021-10-14 2:43 ` Utkarsh Singh
2021-10-14 6:26 ` Eli Zaretskii
0 siblings, 2 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2021-10-13 20:29 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Utkarsh Singh, 51155
Eli Zaretskii <eliz@gnu.org> writes:
>> Weight table:
>>
>> | Face | Weight |
>> |------------+--------|
>> | Extra bold | 205 |
>> | Bold | 200 |
>> | Regular | 80 |
>> | Light | 50 |
>
> I think that's the problem: Emacs thinks that Regular should have the
> weight of 100, see font.c.
So this is basically bug#32210 again, I think?
When we last discussed this (a couple years ago), I said I'd try to look
into this complex issue, so perhaps now's the time. I'll start poking
at this morass tomorrow, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 20:29 ` Lars Ingebrigtsen
@ 2021-10-14 2:43 ` Utkarsh Singh
2021-10-14 7:38 ` Eli Zaretskii
2022-02-02 8:30 ` Utkarsh Singh
2021-10-14 6:26 ` Eli Zaretskii
1 sibling, 2 replies; 11+ messages in thread
From: Utkarsh Singh @ 2021-10-14 2:43 UTC (permalink / raw)
To: Lars Ingebrigtsen, Eli Zaretskii; +Cc: 51155
On 2021-10-13, 22:29 +0200, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Eli Zaretskii <eliz@gnu.org> writes:
>
>>> Weight table:
>>>
>>> | Face | Weight |
>>> |------------+--------|
>>> | Extra bold | 205 |
>>> | Bold | 200 |
>>> | Regular | 80 |
>>> | Light | 50 |
>>
>> I think that's the problem: Emacs thinks that Regular should have the
>> weight of 100, see font.c.
>
> So this is basically bug#32210 again, I think?
>
> When we last discussed this (a couple years ago), I said I'd try to look
> into this complex issue, so perhaps now's the time. I'll start poking
> at this morass tomorrow, I think.
For testing, I changed Regular to weight of 80 but Emacs is still
loading the Light variant.
--
Utkarsh Singh
https://utkarshsingh.xyz/
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-13 20:29 ` Lars Ingebrigtsen
2021-10-14 2:43 ` Utkarsh Singh
@ 2021-10-14 6:26 ` Eli Zaretskii
1 sibling, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-14 6:26 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: utkarsh190601, 51155
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Cc: Utkarsh Singh <utkarsh190601@gmail.com>, 51155@debbugs.gnu.org
> Date: Wed, 13 Oct 2021 22:29:00 +0200
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> >> Weight table:
> >>
> >> | Face | Weight |
> >> |------------+--------|
> >> | Extra bold | 205 |
> >> | Bold | 200 |
> >> | Regular | 80 |
> >> | Light | 50 |
> >
> > I think that's the problem: Emacs thinks that Regular should have the
> > weight of 100, see font.c.
>
> So this is basically bug#32210 again, I think?
No, not necessarily: that one was about "regular" vs "medium", not vs
"light".
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-14 2:43 ` Utkarsh Singh
@ 2021-10-14 7:38 ` Eli Zaretskii
2022-02-02 8:30 ` Utkarsh Singh
1 sibling, 0 replies; 11+ messages in thread
From: Eli Zaretskii @ 2021-10-14 7:38 UTC (permalink / raw)
To: Utkarsh Singh; +Cc: larsi, 51155
> From: Utkarsh Singh <utkarsh190601@gmail.com>
> Cc: 51155@debbugs.gnu.org
> Date: Thu, 14 Oct 2021 08:13:33 +0530
>
> On 2021-10-13, 22:29 +0200, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> > Eli Zaretskii <eliz@gnu.org> writes:
> >
> >>> Weight table:
> >>>
> >>> | Face | Weight |
> >>> |------------+--------|
> >>> | Extra bold | 205 |
> >>> | Bold | 200 |
> >>> | Regular | 80 |
> >>> | Light | 50 |
> >>
> >> I think that's the problem: Emacs thinks that Regular should have the
> >> weight of 100, see font.c.
> >
> > So this is basically bug#32210 again, I think?
> >
> > When we last discussed this (a couple years ago), I said I'd try to look
> > into this complex issue, so perhaps now's the time. I'll start poking
> > at this morass tomorrow, I think.
>
> For testing, I changed Regular to weight of 80 but Emacs is still
> loading the Light variant.
That's not necessarily enough, as there's more code involved here.
I think only stepping with a debugger through the relevant code will
tell us what happens and why.
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2021-10-14 2:43 ` Utkarsh Singh
2021-10-14 7:38 ` Eli Zaretskii
@ 2022-02-02 8:30 ` Utkarsh Singh
2022-02-02 17:52 ` Lars Ingebrigtsen
1 sibling, 1 reply; 11+ messages in thread
From: Utkarsh Singh @ 2022-02-02 8:30 UTC (permalink / raw)
To: Lars Ingebrigtsen, Eli Zaretskii; +Cc: 51155
Hello maintainers,
On 2021-10-14, 08:13 +0530, Utkarsh Singh <utkarsh190601@gmail.com> wrote:
> On 2021-10-13, 22:29 +0200, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
>> Eli Zaretskii <eliz@gnu.org> writes:
>>
>>>> Weight table:
>>>>
>>>> | Face | Weight |
>>>> |------------+--------|
>>>> | Extra bold | 205 |
>>>> | Bold | 200 |
>>>> | Regular | 80 |
>>>> | Light | 50 |
>>>
>>> I think that's the problem: Emacs thinks that Regular should have the
>>> weight of 100, see font.c.
>>
>> So this is basically bug#32210 again, I think?
>>
>> When we last discussed this (a couple years ago), I said I'd try to look
>> into this complex issue, so perhaps now's the time. I'll start poking
>> at this morass tomorrow, I think.
>
> For testing, I changed Regular to weight of 80 but Emacs is still
> loading the Light variant.
Please close this bug report, Cantarell VF is working fine now.
--
Utkarsh Singh
https://utkarshsingh.xyz/
^ permalink raw reply [flat|nested] 11+ messages in thread
* bug#51155: 29.0.50; Incorrect weight used in Cantarell VF
2022-02-02 8:30 ` Utkarsh Singh
@ 2022-02-02 17:52 ` Lars Ingebrigtsen
0 siblings, 0 replies; 11+ messages in thread
From: Lars Ingebrigtsen @ 2022-02-02 17:52 UTC (permalink / raw)
To: Utkarsh Singh; +Cc: 51155
Utkarsh Singh <utkarsh190601@gmail.com> writes:
> Please close this bug report, Cantarell VF is working fine now.
OK; closing this report, then.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2022-02-02 17:52 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-12 11:15 bug#51155: 29.0.50; Incorrect weight used in Cantarell VF Utkarsh Singh
2021-10-13 11:39 ` Eli Zaretskii
2021-10-13 14:36 ` Utkarsh Singh
2021-10-13 15:35 ` Utkarsh Singh
2021-10-13 16:11 ` Eli Zaretskii
2021-10-13 20:29 ` Lars Ingebrigtsen
2021-10-14 2:43 ` Utkarsh Singh
2021-10-14 7:38 ` Eli Zaretskii
2022-02-02 8:30 ` Utkarsh Singh
2022-02-02 17:52 ` Lars Ingebrigtsen
2021-10-14 6:26 ` Eli Zaretskii
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.