Skip Menu |

This queue is for tickets about the Prima CPAN distribution.

Report information
The Basics
Id: 128211
Status: resolved
Priority: 0/
Queue: Prima

People
Owner: Nobody in particular
Requestors: HMBRAND [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: 1.53



Subject: Default font shows italic
All my text shows in an italic font. I chose DejaVu Sans Mono from the dropdown. I bet it is because -i- orders *before* -o- in $ xlsfonts | grep -iP 'dejavu sans.*10646-1$' -misc-dejavu sans condensed-bold-i-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans condensed-bold-o-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans condensed-bold-r-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans condensed-medium-i-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans condensed-medium-o-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans condensed-medium-r-semicondensed--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans light-extralight-r-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans mono-bold-i-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans mono-bold-o-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans mono-bold-r-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans mono-medium-i-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans mono-medium-o-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans mono-medium-r-normal--0-0-0-0-m-0-iso10646-1 -misc-dejavu sans-bold-i-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans-bold-o-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans-bold-r-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans-medium-i-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans-medium-o-normal--0-0-0-0-p-0-iso10646-1 -misc-dejavu sans-medium-r-normal--0-0-0-0-p-0-iso10646-1
Hi Merijn, Thanks for the report. I wonder if you could run this one-liner and post results? perl -MPrima -e 1 -- --debug=F Depending on whether this selects a core X11 font, either your assumption is correct, or, if it selects a FC font (something like this: "widget font: 23.[w=13,s=12].DejaVu Sans.iso10646-1" that I got on my system), it is something else. In this case, I'd ask you as well to run and copy the result of this command: fc-pattern --default --config 12-Default /dk
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Fri, 11 Jan 2019 08:34:48 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Thu, 10 Jan 2019 16:23:12 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Hi Merijn, > > Thanks for the report. I wonder if you could run this one-liner and > post results? > > perl -MPrima -e 1 -- --debug=F
$ perl -MPrima -e 1 -- --debug=F xft: XFT ok font: loading fixed font: width = FXA_AVERAGE_WIDTH 6(60) xft: want -12x0.0.default.Default/^0 xft: FC_SIZE = 12 xft: height factor read:16 (16.0252) xft: width factor read:100 (100) xft: size factor read:12 (12) xft: load font 2a86060 xft: set height: 18 xft: store 2a86060(2a86060):-12x0.0.default.Default^0 xft: store 2a86060(2a86060):18x10.0.variable.Arial^0 xft: store 2a86060(2a86060):-12x10.0.variable.Arial^0 xft: want 13x6.0.default.fixed/iso8859-1^0 xft: try nonscaled font xft: want 13x0.0.default.fixed/iso8859-1^0 xft: FC_PIXEL_SIZE = 13 xft: height factor read:13 (13) xft: width factor read:100 (100) xft: size calculated:10 xft: pass to core font reqH:13(s=1)x6.0.default fixed/iso8859-1 font: #5798 (diff=-6.44245e+10): -adobe-source code pro black-black-i-normal--0-0-0-0-m-0-adobe-standard font: pick:0(0)x0.I.fixed source code pro black/adobe-standard sloppy.vector font: construct h=13, s=0 font: loading -adobe-source code pro black-black-i-normal--13-0-0-0-m-60-adobe-standard font height pick: 1::13 => 15, advised 112 font: construct h=11.2, s=0 font: loading -adobe-source code pro black-black-i-normal--11-0-0-0-m-60-adobe-standard font: width = copy as is 6 font cache add: 13(7)x6.I.fixed source code pro black/adobe-standard font: new fixed parsed to: 13.[w=6,s=7].source code pro black.adobe-standard font: init font: loading -misc-fixed-medium-r-normal--15-*-75-75-*-iso10646-1 font: width = FXA_AVERAGE_WIDTH 9(90) xft: want -12x0.0.default.Default/^0 xft: want 15x9.0.default.fixed/iso10646-1^0 xft: try nonscaled font xft: want 15x0.0.default.fixed/iso10646-1^0 xft: FC_PIXEL_SIZE = 15 xft: height factor read:15 (15) xft: width factor read:100 (100) xft: size calculated:11 xft: pass to core font reqH:15(s=1)x9.0.default fixed/iso10646-1 font: #5798 (diff=-6.44245e+10): -adobe-source code pro black-black-i-normal--0-0-0-0-m-0-adobe-standard font: pick:0(0)x0.I.fixed source code pro black/adobe-standard .vector font: construct h=15, s=0 font: loading -adobe-source code pro black-black-i-normal--15-0-0-0-m-90-adobe-standard font height pick: 1::15 => 17, advised 132 font: construct h=13.2, s=0 font: loading -adobe-source code pro black-black-i-normal--13-0-0-0-m-90-adobe-standard font: width = copy as is 9 font cache add: 15(9)x9.I.fixed source code pro black/adobe-standard font: new -misc-fixed-medium-r-normal--15-*-75-75-*-iso10646-1 parsed to: 15.[w=9,s=9].source code pro black.adobe-standard default font: 15.[w=9,s=9].source code pro black.adobe-standard menu font: 15.[w=9,s=9].source code pro black.adobe-standard widget font: 15.[w=9,s=9].source code pro black.adobe-standard msg font: 15.[w=9,s=9].source code pro black.adobe-standard caption font: 15.[w=9,s=9].source code pro black.adobe-standard (perl:20698): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed xft: want -9x0.0.default.DejaVu Sans/Default^0 xft: FC_SIZE = 9 xft: height factor read:12 (12.0189) xft: width factor read:100 (100) xft: size factor read:9 (9) xft: load font 2b2c030 xft: set height: 14 xft: store 2b2c030(2b2c030):-9x0.0.default.DejaVu Sans^0 xft: store 2b2c030(2b2c030):14x8.0.variable.DejaVu Sans^0 xft: store 2b2c030(2b2c030):-9x8.0.variable.DejaVu Sans^0 gtk-font (label): 14.[w=8,s=9].DejaVu Sans.Default xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (menu): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (widget): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (window): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (widget): 14.[w=8,s=9].DejaVu Sans.iso10646-1 Show quoted text
> Depending on whether this selects a core X11 font, either your > assumption is correct, or, if it selects a FC font (something like > this: "widget font: 23.[w=13,s=12].DejaVu Sans.iso10646-1" that I got
$ perl -MPrima -e 1 -- --debug=F|&grep -wi dejavu xft: want -9x0.0.default.DejaVu Sans/Default^0 xft: store 20140b0(20140b0):-9x0.0.default.DejaVu Sans^0 xft: store 20140b0(20140b0):14x8.0.variable.DejaVu Sans^0 xft: store 20140b0(20140b0):-9x8.0.variable.DejaVu Sans^0 gtk-font (label): 14.[w=8,s=9].DejaVu Sans.Default xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (menu): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (widget): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (window): 14.[w=8,s=9].DejaVu Sans.iso10646-1 xft: want -9x0.0.default.DejaVu Sans/Default^0 gtk-font (widget): 14.[w=8,s=9].DejaVu Sans.iso10646-1 Show quoted text
> on my system), it is something else. In this case, I'd ask you as > well to run and copy the result of this command: > > fc-pattern --default --config 12-Default
$ fc-pattern --default --config 12-Default Pattern has 30 elts (size 32) family: "12"(s) "emoji"(s) "Arial"(w) "Albany AMT"(w) "Verdana"(w) "Roboto"(w) "Noto Kufi Arabic"(w) "Noto Naskh Arabic"(w) "Noto Sans"(w) "Noto Sans Armenian"(w) "Noto Sans Avestan"(w) "Noto Sans Balinese"(w) "Noto Sans Bamum"(w) "Noto Sans Batak"(w) "Noto Sans Bengali"(w) "Noto Sans Brahmi"(w) "Noto Sans Buginese"(w) "Noto Sans Buhid"(w) "Noto Sans Canadian Aboriginal"(w) "Noto Sans Carian"(w) "Noto Sans Cherokee"(w) "Noto Sans Coptic"(w) "Noto Sans Cypriot"(w) "Noto Sans Deseret"(w) "Noto Sans Devanagari"(w) "Noto Sans Egyptian Hieroglyphs"(w) "Noto Sans Ethiopic"(w) "Noto Sans Georgian"(w) "Noto Sans Glagolitic"(w) "Noto Sans Gothic"(w) "Noto Sans Gujarati"(w) "Noto Sans Gurmukhi"(w) "Noto Sans Hanunoo"(w) "Noto Sans Hebrew"(w) "Noto Sans Imperial Aramaic"(w) "Noto Sans Inscriptional Pahlavi"(w) "Noto Sans Inscriptional Parthian"(w) "Noto Sans Japanese"(w) "Noto Sans Javanese"(w) "Noto Sans Kaithi"(w) "Noto Sans Kannada"(w) "Noto Sans Kayah Li"(w) "Noto Sans Kharoshthi"(w) "Noto Sans Korean"(w) "Noto Sans Lao"(w) "Noto Sans Lepcha"(w) "Noto Sans Limbu"(w) "Noto Sans Linear B"(w) "Noto Sans Lisu"(w) "Noto Sans Lycian"(w) "Noto Sans Lydian"(w) "Noto Sans Malayalam"(w) "Noto Sans Mandaic"(w) "Noto Sans Meetei Mayek"(w) "Noto Sans Mongolian"(w) "Noto Sans Myanmar"(w) "Noto Sans New Tai Lue"(w) "Noto Sans NKo"(w) "Noto Sans Ogham"(w) "Noto Sans Old Italic"(w) "Noto Sans Old Persian"(w) "Noto Sans Old South Arabian"(w) "Noto Sans Old Turkic"(w) "Noto Sans Ol Chiki"(w) "Noto Sans Osmanya"(w) "Noto Sans Phags-pa"(w) "Noto Sans Phoenician"(w) "Noto Sans Rejang"(w) "Noto Sans Runic"(w) "Noto Sans Samaritan"(w) "Noto Sans Saurashtra"(w) "Noto Sans Shavian"(w) "Noto Sans Sinhala"(w) "Noto Sans Sumero-Akkadian Cuneiform"(w) "Noto Sans Sundanese"(w) "Noto Sans Syloti Nagri"(w) "Noto Sans Symbols"(w) "Noto Sans Syriac Eastern"(w) "Noto Sans Syriac Estrangela"(w) "Noto Sans Syriac Western"(w) "Noto Sans SC"(w) "Noto Sans Tagalog"(w) "Noto Sans Tagbanwa"(w) "Noto Sans Tai Le"(w) "Noto Sans Tai Tham"(w) "Noto Sans Tai Viet"(w) "Noto Sans Tamil"(w) "Noto Sans Telugu"(w) "Noto Sans Thai"(w) "Noto Sans Tifinagh"(w) "Noto Sans TC"(w) "Noto Sans Ugaritic"(w) "Noto Sans Vai"(w) "Noto Sans Yi"(w) "Liberation Sans"(w) "Droid Sans"(w) "Arimo"(w) "Cantarell"(w) "SUSE Sans"(w) "Bitstream Vera Sans"(w) "Nimbus Sans L"(w) "Luxi Sans"(w) "Mukti Narrow"(w) "KacstBook"(w) "Nachlieli CLM"(w) "Helvetica"(w) "Khmer OS System"(w) "Lohit Punjabi"(w) "Lohit Oriya"(w) "Pothana2000"(w) "TSCu_Paranar"(w) "BPG Glaho"(w) "Terafik"(w) "FreeSans"(w) "Meiryo"(w) "MS PGothic"(w) "MS Gothic"(w) "HGPGothicB"(w) "HGGothicB"(w) "IPAPGothic"(w) "IPAGothic"(w) "IPAexGothic"(w) "VL PGothic"(w) "VL Gothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "CMEXSong"(w) "FZSongTi"(w) "WenQuanYi Micro Hei"(w) "WenQuanYi WenQuanYi Bitmap Song"(w) "WenQuanYi Zen Hei"(w) "AR PL ShanHeiSun Uni"(w) "FZMingTiB"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "NanumGothic"(w) "UnDotum"(w) "Baekmuk Gulim"(w) "Baekmuk Dotum"(w) "Bitstream Vera Sans"(w) "DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany AMT"(w) "Luxi Sans"(w) "Nimbus Sans L"(w) "Helvetica"(w) "Lucida Sans Unicode"(w) "BPG Glaho International"(w) "Tahoma"(w) "Nachlieli"(w) "Lucida Sans Unicode"(w) "Yudit Unicode"(w) "Kerkis"(w) "ArmNet Helvetica"(w) "Artsounk"(w) "BPG UTF8 M"(w) "Waree"(w) "Loma"(w) "Garuda"(w) "Umpush"(w) "Saysettha Unicode"(w) "JG Lao Old Arial"(w) "GF Zemen Unicode"(w) "Pigiarniq"(w) "B Davat"(w) "B Compset"(w) "Kacst-Qr"(w) "Urdu Nastaliq Unicode"(w) "Raghindi"(w) "Mukti Narrow"(w) "malayalam"(w) "Sampige"(w) "padmaa"(w) "Hapax Berbère"(w) "MS Gothic"(w) "UmePlus P Gothic"(w) "SimSun"(w) "PMingLiu"(w) "WenQuanYi Zen Hei"(w) "WenQuanYi Bitmap Song"(w) "AR PL ShanHeiSun Uni"(w) "AR PL New Sung"(w) "MgOpen Modata"(w) "VL Gothic"(w) "IPAMonaGothic"(w) "IPAGothic"(w) "Sazanami Gothic"(w) "Kochi Gothic"(w) "AR PL KaitiM GB"(w) "AR PL KaitiM Big5"(w) "AR PL ShanHeiSun Uni"(w) "AR PL SungtiL GB"(w) "AR PL Mingti2L Big5"(w) "MS ゴシック"(w) "ZYSong18030"(w) "TSCu_Paranar"(w) "NanumGothic"(w) "UnDotum"(w) "Baekmuk Dotum"(w) "Baekmuk Gulim"(w) "KacstQura"(w) "Lohit Bengali"(w) "Lohit Gujarati"(w) "Lohit Hindi"(w) "Lohit Marathi"(w) "Lohit Maithili"(w) "Lohit Kashmiri"(w) "Lohit Konkani"(w) "Lohit Nepali"(w) "Lohit Sindhi"(w) "Lohit Punjabi"(w) "Lohit Tamil"(w) "Meera"(w) "Lohit Malayalam"(w) "Lohit Kannada"(w) "Lohit Telugu"(w) "Lohit Oriya"(w) "LKLUG"(w) "FreeSans"(w) "Arial Unicode MS"(w) "Arial Unicode"(w) "Code2000"(w) "Code2001"(w) "sans-serif"(w) "Roya"(w) "Koodak"(w) "Terafik"(w) familylang: "en"(s) "en-us"(w) stylelang: "en"(s) "en-us"(w) fullnamelang: "en"(s) "en-us"(w) slant: 0(i)(s) weight: 80(i)(s) width: 100(i)(s) size: 12(f)(s) pixelsize: 12.5(f)(s) hintstyle: 3(i)(s) hinting: True(s) verticallayout: False(s) autohint: False(s) globaladvance: True(s) dpi: 75(f)(s) rgba: 5(i)(w) scale: 1(f)(s) lang: "en"(w) fontversion: 2147483647(i)(s) embeddedbitmap: True(s) decorative: False(s) lcdfilter: 0(i)(w) namelang: "en"(s) prgname: "fc-pattern"(s) force_hintstyle: "none"(w) force_autohint: False(w) force_bw: False(w) force_bw_monospace: False(w) search_metric_aliases: True(w) user_preference_list: False(w) $ fc-pattern --default --config 12-Default | perl -pe's/\) /)\n\t/g' | grep -C3 -i deja "Baekmuk Gulim"(w) "Baekmuk Dotum"(w) "Bitstream Vera Sans"(w) "DejaVu Sans"(w) "Verdana"(w) "Arial"(w) "Albany AMT"(w) Show quoted text
> /dk
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Thank you! Unfortunately that doesn't help much, I can see that setup picks up gtk's default 14.[w=8,s=9].DejaVu Sans.iso10646-1 and that is basically translates to whatever fontconfig thinks 'DejaVu Sans-9:width=8' is. It would be interesting to see what it is get matched to by running fc-match -v 'DejaVu Sans-9:width=8' Also, as I'm afraid, if this doesn't produce the desired effect, and because it's rather hard to see how different patterns are visualized on another system, could you possibly play with Prima default font, f.ex. like this, to see if there is a font that gives a good effect? f.ex. you could run this: perl examples/generic.pl --no-gtk --font=DejaVu\ Sans-9:slant=0 to turn off italics explicitly, or try some other font to see if that works
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Fri, 11 Jan 2019 16:47:33 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Fri, 11 Jan 2019 10:06:00 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Thank you! > > Unfortunately that doesn't help much, I can see that setup picks up > gtk's default 14.[w=8,s=9].DejaVu Sans.iso10646-1 and that is > basically translates to whatever fontconfig thinks 'DejaVu > Sans-9:width=8' is. It would be interesting to see what it is get > matched to by running > > fc-match -v 'DejaVu Sans-9:width=8'
$ fc-match -v 'DejaVu Sans-9:width=8' Pattern has 44 elts (size 48) family: "DejaVu Sans"(s) "DejaVu Sans Condensed"(s) familylang: "en"(s) "en"(s) style: "Condensed"(w) "Book"(w) stylelang: "en"(w) "en"(w) fullname: "DejaVu Sans Condensed"(w) fullnamelang: "en"(w) slant: 0(i)(s) weight: 80(i)(s) width: 87(i)(s) size: 9(f)(s) pixelsize: 9.375(f)(s) foundry: "unknown"(w) antialias: True(w) hintstyle: 3(i)(w) hinting: True(w) verticallayout: False(s) autohint: False(w) globaladvance: True(s) file: "/usr/share/fonts/truetype/DejaVuSansCondensed.ttf"(w) index: 0(i)(w) outline: True(w) scalable: True(w) dpi: 75(f)(s) rgba: 5(i)(w) scale: 1(f)(s) charset: 0000: 00000000 ffffffff ffffffff 7fffffff 00000000 ffffffff ffffffff ffffffff 0001: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0002: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 008873ff 0003: ffffffff 7fffffff f58effff 7cff0007 ffffd7f0 fffffffb ffffffff ffffffff 0004: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0005: ffffffff fffe003f fe7fffff fffffffe 000006ff ffff0000 ffff00cf 001f07ff 0006: 882016c0 07fffffe 04bfffff fe11ffff ffffffff ffffffff 00205040 03ff0000 0007: 00000000 00000000 00000000 00000000 00000000 00000000 ffffffff 073ff8ff 000e: 00000000 80000000 00000000 00000000 fef02596 3bffecae 33ff3f5f 00000000 0010: 00000000 00000000 00000000 00000000 00000000 ffffffff ffff003f 1fffffff 0014: effffefe ffbfffff fff7f7ff ffffffff ffffffff 3fffffff ffffffff fffff7ff 0015: ffff00ff 7fffffff fffdffff fff007ff 007ffc3f 0000ffff 40000000 00000002 0016: 00000000 00000000 000000c0 007fc000 1fffffff 00000000 00000000 00000000 001d: ffdfffff ffff7fcf efffffff 298007ff f8000020 ffffffff 000003f0 00000000 001e: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0fffffff 001f: 3f3fffff ffffffff aaff3f3f 3fffffff ffffffff ffdfffff efcfffdf 7fdcffff 0020: ffffffff ffffffff ffffffff fff3fc1f 1fff7fff 073fffff 18c30000 00000002 0021: fffffbff ffffffff ffff4bff ffffffff ffff023f ffffffff ffffffff ffffffff 0022: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0023: f303ffff 000019f3 00000000 24380000 f8100080 00007fff 0000c000 00000128 0024: 00000000 0000000c 00000000 000003ff 00000000 00000000 00000000 00000000 0025: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0026: ffffffff ffffffff ffffffff ffffffff 1fffffff 01ffffff 0000000f 00000004 0027: fffff3de fffffeff 7f47afff fffffffe ff1fffff 7ffeffff 00000060 ffff0fc1 0028: ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0029: 00000cc0 00000000 00000003 00000000 00000018 00000000 003fc000 0c000800 002a: 1ffff007 00008000 00000000 e0000c00 ffffffff 07ffc001 00000000 06000000 002b: 87ffffff 0000001f 00180000 00000000 00000000 00000000 00000000 00000000 002c: 00000000 00000000 00000000 feffffff 00000000 00000000 00000000 00000000 002d: ffffffff ffff003f ffffffff 0000803f 00000000 00000000 00000000 00000000 002e: 41000000 0000403c 00000000 00000000 00000000 00000000 00000000 00000000 004d: 00000000 00000000 00000000 00000000 00000000 00000000 cffffffc fcf3ffff 00a4: 00000000 00000000 00000000 00000000 00000000 00000000 ffff0000 ffffffff 00a6: 00000000 00000000 00f330f0 00007ffc 00303c00 00000000 00000000 00000000 00a7: f87fff00 ffff0ffc 00cfcfc3 000000f0 00037e0f 000007ff 00000000 fc000000 00ef: 03ffffff 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00f0: 0000000f 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00f4: ffffffff ffffff7f 00000003 00000000 00000000 00000000 00000000 00000000 00f6: 00000000 00000000 00000000 00000000 00000000 00000000 00000020 00000000 00fb: e0f8007f 5f7fffff fffcffdb ffffffff ffffffff 00003c0f 06780000 f0000300 00fe: 0000ffff 0000000f 00000000 ffdf0000 ffffffff ffffffff ffffffff 9fffffff 00ff: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 3e000000 0103: 7fffffff 0000000f 00000000 00000000 00000000 00000000 00000000 00000000 01d3: ffffffff ffffffff 007fffff 00000000 00000000 00000000 00000000 00000000 01d5: 00000000 7b000000 fffdfc5f 00000fff 00000000 ffffffff 000fffff 00000000 01d7: 00000000 00000000 00000000 00000000 00000000 00000000 ff000000 00000fff 01f0: 00000000 ffff0000 ffffffff ffffffff 000fffff 7ffe7fff fffefffe 00000000 01f4: 00000000 00226000 00000000 00000000 00000000 00000000 00000000 00000000 01f6: ffffffff ffffefef 00000001 00000000 00000000 00000000 00000000 00000000 (w) lang: aa|ab|af|ar|ast|av|ay|az-az|az-ir|ba|bm|be|bg|bi|bin|br|bs|bua|ca|ce|ch|chm|co|cs|cu|cv|cy|da|de|el|en|eo|es|et|eu|fa|fi|fj|fo|fr|ff|fur|fy|ga|gd|gl|gn|gv|ha|haw|he|ho|hr|hu|hy|ia|ig|id|ie|ik|io|is|it|iu|ka|kaa|ki|kk|kl|ku-am|ku-ir|kum|kv|kw|ky|la|lb|lez|ln|lo|lt|lv|mg|mh|mi|mk|mo|mt|nb|nds|nl|nn|no|nr|nso|ny|oc|om|os|pl|pt|rm|ro|ru|sah|sco|se|sel|sh|shs|sk|sl|sm|sma|smj|smn|sms|so|sq|sr|ss|st|sv|sw|tg|tk|tl|tn|to|tr|ts|tt|tw|tyv|uk|uz|ve|vi|vo|vot|wa|wen|wo|xh|yap|yi|yo|zu|ak|an|ber-dz|ber-ma|crh|csb|ee|fat|fil|hsb|ht|hz|jv|kab|kj|kr|ku-iq|ku-tr|kwm|lg|li|mn-mn|ms|na|ng|nv|ota|pap-an|pap-aw|qu|quz|rn|rw|sc|sd|sg|sn|su|ty|za(s) fontversion: 153354(i)(s) capability: "otlayout:DFLT otlayout:arab otlayout:armn otlayout:brai otlayout:cans otlayout:cher otlayout:cyrl otlayout:geor otlayout:grek otlayout:hani otlayout:hebr otlayout:kana otlayout:lao otlayout:latn otlayout:math otlayout:nko otlayout:ogam otlayout:runr otlayout:tfng otlayout:thai"(w) fontformat: "TrueType"(w) embeddedbitmap: False(w) decorative: False(s) lcdfilter: 0(i)(w) namelang: "en"(s) prgname: "fc-match"(s) hash: "sha256:a60613611bdc81a2ba22862fae52ebd045c24dd0b04bfbbad3b70a91dd3982f5"(w) postscriptname: "DejaVuSansCondensed"(w) font_type: "TT Instructed Font"(w) force_hintstyle: "none"(w) force_autohint: False(w) force_bw: False(w) force_bw_monospace: False(w) search_metric_aliases: True(w) user_preference_list: False(w) Show quoted text
> Also, as I'm afraid, if this doesn't produce the desired effect, and > because it's rather hard to see how different patterns are visualized > on another system, could you possibly play with Prima default font, > f.ex. like this, to see if there is a font that gives a good effect? > > f.ex. you could run this: > > perl examples/generic.pl --no-gtk --font=DejaVu\ Sans-9:slant=0 > > to turn off italics explicitly, or try some other font to see if that > works
Nope, still italic As a side note, these warnings might be important: $ make test : : cp utils/prima-tmlink blib/script/prima-tmlink "/pro/bin/perl5.24.1" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/prima-tmlink PERL_DL_NONLAZY=1 "/pro/bin/perl5.24.1" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*/*.t t/Image/Bar.t ........... (perl5.24.1:9247): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed t/Image/Bar.t ........... ok t/Image/Basic.t ......... (perl5.24.1:9293): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed t/Image/Basic.t ......... ok t/Image/Bitmaps.t ....... (perl5.24.1:9311): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed t/Image/Bitmaps.t ....... ok -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Hi Merijn, This is really really strange.. I tried on all linuxes I have, and it works just fine especially with the standard DejaVu Sans. What I'm thinking of, is to ask you to add the patch attached for extra debug, and just to be really really sure that this is fontconfig that does bad thing, test it your example with these: --no-xft --no-core --debug=F otherwise I'm quite at lost how this could happen at all, except for some really crazy scenarios like corrupt filesystem, which I doubt. Also, do you think I can reproduce your setup somehow? /dk
Subject: patch
Download patch
application/octet-stream 440b

Message body not shown because it is not plain text.

sorry typo: NOT --no-xft BUT --no-gtk
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Sat, 12 Jan 2019 17:58:48 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Sat, 12 Jan 2019 11:06:39 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > sorry typo: > > NOT --no-xft BUT --no-gtk
Linux 4.4.165-81-default [openSUSE Leap 42.3] HP Z420/1589 Xeon(R) CPU E5-1650 0 @ 3.20GHz/3634(12 cores) x86_64 15972 Mb This is perl 5, version 24, subversion 1 (v5.24.1) built for x86_64-linux-thread-multi-ld $ perl -MV=Prima Prima /pro/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi-ld/Prima.pm: 1.53 Still Italic /me tries openSUSE TumbleWeed ... Linux 4.19.12-1-default [openSUSE Tumbleweed 20190110] HP ZBook 15G3 Core(TM) i7-6820HQ CPU @ 2.70GHz/2219(8 cores) x86_64 15958 Mb This is perl 5, version 28, subversion 1 (v5.28.1) built for x86_64-linux-thread-multi-ld $ perl -MV=Prima Prima /pro/lib/perl5/site_perl/5.28.1/x86_64-linux-thread-multi-ld/Prima.pm: 1.53 The test has fails on # Failed test 'size / Emmentaler-Brace' # at t/Object/Fonts.t line 34. but when installing anyway, it shows as expected /me tries openSUSE 15.0 ... Linux 4.12.14-lp150.12.28-default [openSUSE Leap 15.0] HP Z220CMT Xeon(R) CPU E3-1245 V2 @ 3.40GHz/3392(8 cores) x86_64 28003 Mb This is perl 5, version 28, subversion 0 (v5.28.0) built for x86_64-linux-thread-multi-ld $ perl -MV=Prima Prima /pro/lib/perl5/site_perl/5.28.0/x86_64-linux-thread-multi-ld/Prima.pm: 1.53 shows perfect! I added three outputs of ldd blib/arch/auto/Prima/Prima.so + rpm -qf `ldd blib/arch/auto/Prima/Prima.so | perl -nE'say for m{(/\S+\.so\S*)}' | sort -u` | sort -u -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Hi Merijn, I tested both opensuse 42.3 and 15, and couldn't see anything interesting on both of them. However I think I might just have an idea. Could you possibly run again whatever script you run, or just examples/generic.pl, or even just this below: perl -MPrima=Application,MsgBox -e message -- - whatever demonstrates the italics. But again, two times: first with --debug=F, second time with --debug=F --no-core-fonts. I'm especially curious what, if any, --no-core-fonts effect will be. /dk
Also forgot to tell: after 1.53 there were a number of changes, if you could build it from 'git clone https://github.com/dk/Prima.git' it would help me too..
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Mon, 14 Jan 2019 21:32:59 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Mon, 14 Jan 2019 11:50:24 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Hi Merijn, > > I tested both opensuse 42.3 and 15, and couldn't see anything > interesting on both of them. However I think I might just have an > idea. Could you possibly run again whatever script you run, or just > examples/generic.pl, or even just this below: > > perl -MPrima=Application,MsgBox -e message --
sorry, a bit long, as I encountered difficulties and wanted to get you along in the process ... I cloned from git building gave just one warning: --8<--- ccache cc -c -Iinclude -Iinclude/generic -I/usr/include/freetype2 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng12 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -fopenmp -D_REENTRANT -D_GNU_SOURCE -fPIC -fwrapv -fno-strict-aliasing -pipe -fstack-protector -I/pro/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2 -Wall -DVERSION=\"1.53\" -DXS_VERSION=\"1.53\" -fPIC "-I/pro/lib/perl5/5.24.1/x86_64-linux-thread-multi-ld/CORE" img/codec_png.c -o img/codec_png.o img/codec_png.c: In function ‘load’: img/codec_png.c:689:3: warning: passing argument 5 of ‘png_get_iCCP’ from incompatible pointer type [enabled by default] if ( png_get_iCCP( l-> png_ptr, l-> info_ptr, &name, &ct, (png_bytepp)&pf, &pl)) { ^ In file included from img/codec_png.c:4:0: /usr/include/libpng12/png.h:2488:20: note: expected ‘png_charpp’ but argument is of type ‘png_byte **’ extern PNG_EXPORT(png_uint_32,png_get_iCCP) PNGARG((png_structp png_ptr, ^ -->8--- testing keeps showing: (perl5.24.1:28201): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed (tests run on a system connected to using ssh with X-forwarding) and a lot of FAIL's on the Emmentaler-Brace font t/Object/Fonts.t ........ 3890/5817 # Failed test 'size / Emmentaler-Brace' # at t/Object/Fonts.t line 34. # got: '1' # expected: '0' xft: want 10x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want 69x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want 19x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want -12x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want -1x0.0.fixed.Emmentaler-Brace/fontspecific^0 # Failed test 'size / Emmentaler-Brace' # at t/Object/Fonts.t line 34. # got: '1' # expected: '0' xft: want 26x0.0.default.Emmentaler-Brace/fontspecific^12 xft: want 26x0.0.default.Emmentaler-Brace/fontspecific^0 xft: want 26x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want 26x12.0.default.Emmentaler-Brace/fontspecific^0 xft: want -1x0.0.fixed.Emmentaler-Brace/fontspecific^0 xft: want -1x12.0.default.Emmentaler-Brace/fontspecific^0 xft: want 26x0.BTI.default.Emmentaler-Brace/fontspecific^0 xft: want 26x0.0.default.Emmentaler-Brace/fontspecific^0 xft: want 16x0.0.fixed.Emmentaler-Brace/fontspecific^0 t/Object/Fonts.t ........ 4793/5817 there it hang. I killed it Then I removed Rosegarden as I never use it anyway (lilypond, lilypond-emmentaler-fonts, & rosegarden) now it stalled at t/Object/Fonts.t ........ 4702/5754 $ prove -vwb t/Object/Fonts.t : : ok 4722 - width by height / Anwb Ee VL ok 4723 - width by size / Anwb Ee VL ok 4724 - style / Anwb Ee VL ok 4725 - text wrap Anwb Ee VL ok 4726 - height / MarVoSym with TeX support ok 4727 - size / MarVoSym with TeX support ok 4728 - direction / MarVoSym with TeX support ok 4729 - width by height / MarVoSym with TeX support ok 4730 - width by size / MarVoSym with TeX support ok 4731 - style / MarVoSym with TeX support and then silence adding a «diag ($f->{name});» at the start of the sub # Anwb Ee VL ok 4719 - height / Anwb Ee VL ok 4720 - size / Anwb Ee VL ok 4721 - direction / Anwb Ee VL ok 4722 - width by height / Anwb Ee VL ok 4723 - width by size / Anwb Ee VL ok 4724 - style / Anwb Ee VL ok 4725 - text wrap Anwb Ee VL # MarVoSym with TeX support ok 4726 - height / MarVoSym with TeX support ok 4727 - size / MarVoSym with TeX support ok 4728 - direction / MarVoSym with TeX support ok 4729 - width by height / MarVoSym with TeX support ok 4730 - width by size / MarVoSym with TeX support ok 4731 - style / MarVoSym with TeX support hang? silence ... If I want to remove that font, a lot more will be removed: zypper rm texlive-marvosym-fonts-2016.122.2.2asvn29349-23.4.noarch Loading repository data... Reading installed packages... Resolving package dependencies... The following 21 packages are going to be REMOVED: texlive-arabxetex texlive-bidi texlive-cnbwp texlive-collection-fontsrecommended texlive-collection-htmlxml texlive-collection-langczechslovak texlive-collection-langfrench texlive-collection-mathextra texlive-collection-xetex texlive-facture texlive-fixlatvian texlive-jadetex texlive-marvosym texlive-marvosym-fonts texlive-passivetex texlive-polyglossia texlive-ptext texlive-quran texlive-rec-thy texlive-scheme-medium texlive-xepersian 21 packages to remove. After the operation, 4.4 MiB will be freed. Errr, nope. ok, new plan, skip marvosym: --8<--- my $filter = @ARGV ? qr/$ARGV[0]/ : qr/./; my $bad_guys = qr/ (?: Color\sEmoji # fontconfig doesn't support this .ttc, reports crazy numbers and cannot display it | Emmentaler-Brace | MarVoSym # hangs in wrapping test )/x; $x = Prima::DeviceBitmap-> create( type => dbt::Bitmap, width => 8, height => 8); my @fonts; for my $f ( @{$::application->fonts} ) { next if $f->{name} =~ /$bad_guys/; next unless $f->{name} =~ /$filter/; push @fonts, $f; } plan tests => scalar(@fonts) * 7; for my $f ( @fonts ) { if (!t($f) && Prima::Application-> get_system_info-> {apc} == apc::Unix) { Prima::options(debug => 'f'); t($f); Prima::options(debug => '0'); } } $x-> destroy; -->8--- All tests successful. Files=41, Tests=12218, 212 wallclock secs ( 1.29 usr 0.18 sys + 158.58 cusr 1.38 csys = 161.43 CPU) Result: PASS $ make install UNINST=1 so, restricting to the box that shows Italic ... $ perl -MPrima=Application,MsgBox -e message -- (perl:24945): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed Use of uninitialized value in subroutine entry at /pro/lib/perl5/site_perl/5.24.1/x86_64-linux-thread-multi-ld/Prima/MsgBox.pm line 163. shows Italic Show quoted text
> - whatever demonstrates the italics. > > But again, two times: first with --debug=F, second time with > --debug=F --no-core-fonts. I'm especially curious what, if any, > --no-core-fonts effect will be.
% perl examples/generic.pl --debug=F >& /tmp/x-0 italic % perl examples/generic.pl --debug=F --no-core-fonts >& /tmp/x-1 YEAH! \o/ normal text! Show quoted text
> /dk
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download x-1
application/octet-stream 6.9k

Message body not shown because it is not plain text.

Download x-0
application/octet-stream 4.8k

Message body not shown because it is not plain text.

Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Yes! I finally found it, and that was a bug! I'd really much like to ask you to test the latest git source, to see if that fixed it for you. As for the font hangs, I think that is something on the X level, playing badly together with the unfixed bug. I've only seen hangs (and again, not for forever but for really long time) when there were huge font sizes to be rendered over a slow connection. I wonder if the fix addresses that as well, because if it doesn't I'm actually at loss how to debug it, short of running under strace (and again, strace will most probably show some write() calls sending data to the X server). An indirect indication on this can be loading examples/fontdlg.pl and see how long does it take to load different sizes of a suspect font. I wonder if MarVoSym-72 will take forever.
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Tue, 15 Jan 2019 21:26:13 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Tue, 15 Jan 2019 13:11:57 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Yes! I finally found it, and that was a bug! I'd really much like to > ask you to test the latest git source, to see if that fixed it for > you. > > As for the font hangs, I think that is something on the X level, > playing badly together with the unfixed bug. I've only seen hangs > (and again, not for forever but for really long time) when there were > huge font sizes to be rendered over a slow connection. I wonder if > the fix addresses that as well, because if it doesn't I'm actually at > loss how to debug it, short of running under strace (and again, > strace will most probably show some write() calls sending data to the > X server). An indirect indication on this can be loading > examples/fontdlg.pl and see how long does it take to load different > sizes of a suspect font. I wonder if MarVoSym-72 will take forever.
I still used my $bad_guys = qr/ (?: Color\sEmoji # fontconfig doesn't support this .ttc, reports crazy numbers and cannot display it | Emmentaler-Brace | MarVoSym # hangs in wrapping test )/x; as it took me too long I also still get a lot of (perl5.24.1:25347): GLib-CRITICAL **: g_hash_table_insert_internal: assertion 'hash_table != NULL' failed But indeed, no more italic font! Thanks. Looking awesome again. I'll now start a time prove without these fonts and with these fonts. Will report when/if they finish -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Cool, shall we consider it fixed then? Again, big thank you for helping on solving this!
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Wed, 16 Jan 2019 11:07:53 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Wed, 16 Jan 2019 04:54:10 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Cool, shall we consider it fixed then? Again, big thank you for > helping on solving this!
The italic issue: yes! and thanks! The hang on the weird fonts is still open. I will have to check my screen at home to see what happened. Will come back on that later (if you want to pursue that) -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Show quoted text
> The hang on the weird fonts is still open. I will have to check my > screen at home to see what happened. Will come back on that later > (if you want to pursue that)
Yes, I definitely want to. I need to think how to though, because I tested MarVoSym on that box, and it just works - over both local connection and ssh. Do you have that problem on a particular suse system, or on all three of them? Also, I'd be curious how long it takes to display these fonts using examples/fontdlg.pl
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Thu, 17 Jan 2019 08:02:41 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Wed, 16 Jan 2019 06:06:48 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > >
> > The hang on the weird fonts is still open. I will have to check my > > screen at home to see what happened. Will come back on that later > > (if you want to pursue that)
> > Yes, I definitely want to. I need to think how to though, because I > tested MarVoSym on that box, and it just works - over both local > connection and ssh. Do you have that problem on a particular suse > system, or on all three of them? Also, I'd be curious how long it > takes to display these fonts using examples/fontdlg.pl
With a bit extra diag: --8<--- # wrapping SKIP : { diag ($x->font->name . " - height 16"); $x-> font-> height( 16); diag ($x->font->name . " - get_font_abc"); my ($a,$b,$c) = @{$x->get_font_abc(ord('e'),ord('e'))}; my $w = $a + $b + $c; skip "text wrap $f->{name}", 1 if $w <= 1; # some non-latin or symbol font diag ($x->font->name . " - text_wrap ($w)"); cmp_ok( scalar @{$x-> text_wrap( "eeee eeee eeee eeee eeee", $w * 5)}, '>', 4, "text wrap $f->{name}"); } -->8--- I note that most widths are 6, 7, or 8 with an occasional 13 MarVoSym has width 42! t/Object/Fonts.t ........ 4686/5754 # Umj25 - height 16 # Umj25 - get_font_abc # Umj25 - text_wrap (13) # Umj24 - height 16 # Umj24 - get_font_abc # Umj24 - text_wrap (13) # TeX\040tipxss12 - height 16 # TeX\040tipxss12 - get_font_abc # TeX\040tipxss10 - height 16 # TeX\040tipxss10 - get_font_abc # TeX\040tipxss17 - height 16 # TeX\040tipxss17 - get_font_abc t/Object/Fonts.t ........ 4719/5754 # Anwb Ee VL - height 16 # Anwb Ee VL - get_font_abc # Anwb Ee VL - text_wrap (10) # MarVoSym with TeX support - height 16 # MarVoSym with TeX support - get_font_abc # MarVoSym with TeX support - text_wrap (42) Then it took longer than 12 hours and I interrupted the process here: $ gdb `path perl` 6173 : : (gdb) where #0 0x00007fbf2753d0db in XftCharIndex () at /usr/lib/../lib64/libXft.so.2 #1 0x00007fbf28b9c79c in prima_xft_get_font_abc () at /pro/3gl/CPAN/Prima-git/blib/arch/auto/Prima/Prima.so #2 0x00007fbf28ab9ac6 in query_abc_range () at /pro/3gl/CPAN/Prima-git/blib/arch/auto/Prima/Prima.so #3 0x00007fbf28abcb5f in Drawable_do_text_wrap () at /pro/3gl/CPAN/Prima-git/blib/arch/auto/Prima/Prima.so #4 0x00007fbf28abd8ad in Drawable_text_wrap () at /pro/3gl/CPAN/Prima-git/blib/arch/auto/Prima/Prima.so #5 0x00007fbf28abdfd2 in Drawable_text_wrap_FROMPERL () at /pro/3gl/CPAN/Prima-git/blib/arch/auto/Prima/Prima.so #6 0x00000000004c4824 in Perl_pp_entersub () #7 0x00000000004bd2d6 in Perl_runops_standard () #8 0x0000000000446190 in perl_run () #9 0x0000000000420ee9 in main () -- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.

Hi Merijn, I just can't reproduce it. I installed all the fonts you've mentioned, and that bug is just not happening. Especially that it hangs inside libXft code. Do you think you can make that bug reproducible on another system? /dk
Subject: Re: [rt.cpan.org #128211] Default font shows italic
Date: Fri, 18 Jan 2019 22:17:05 +0100
To: bug-Prima [...] rt.cpan.org
From: "H.Merijn Brand" <h.m.brand [...] xs4all.nl>
On Fri, 18 Jan 2019 15:28:16 -0500, "KARASIK via RT" <bug-Prima@rt.cpan.org> wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=128211 > > > Hi Merijn, > > I just can't reproduce it. I installed all the fonts you've > mentioned, and that bug is just not happening. Especially that it > hangs inside libXft code. > > Do you think you can make that bug reproducible on another system?
I'll try, but that might take a bit. No free time this week Show quoted text
> /dk
-- H.Merijn Brand http://tux.nl Perl Monger http://amsterdam.pm.org/ using perl5.00307 .. 5.29 porting perl5 on HP-UX, AIX, and openSUSE http://mirrors.develooper.com/hpux/ http://www.test-smoke.org/ http://qa.perl.org http://www.goldmark.org/jeff/stupid-disclaimers/
Download (untitled)
application/pgp-signature 473b

Message body not shown because it is not plain text.