Cult-like behaviour [was Re: Kindness]

Chris Angelico rosuav at gmail.com
Mon Jul 16 15:52:23 EDT 2018


On Tue, Jul 17, 2018 at 5:16 AM, Gene Heskett <gheskett at shentel.net> wrote:
> On Monday 16 July 2018 14:01:54 Chris Angelico wrote:
>
>> On Tue, Jul 17, 2018 at 2:24 AM, Gene Heskett <gheskett at shentel.net>
> wrote:
>> > On Monday 16 July 2018 11:57:25 Chris Angelico wrote:
>> >> On Tue, Jul 17, 2018 at 1:48 AM, Gene Heskett
>> >> <gheskett at shentel.net>
>> >
>> > wrote:
>> >> > On Sunday 15 July 2018 16:09:21 Chris Angelico wrote:
>> >> >> On Mon, Jul 16, 2018 at 4:22 AM, James Lee <jlee54 at gmail.com>
> wrote:
>> >> >> > On 7/15/2018 3:43 AM, Steven D'Aprano wrote:
>> >> >> >> No. The real ten billion dollar question is how people in
>> >> >> >> 2018 can stick their head in the sand and take seriously the
>> >> >> >> position that Latin-1 (let alone ASCII) is enough for text
>> >> >> >> strings.
>> >> >> >
>> >> >> > Easy - for many people, 90% of the Python code they write is
>> >> >> > not intended for world-wide distribution, let alone use.
>> >> >> >
>> >> >> > The smart thing would be for a language to have a switch of
>> >> >> > some sort to turn on/off all I18N features.
>> >> >>
>> >> >> Earlier I cited an example of round-tripping from human to human
>> >> >> via various web protocols. Here's an actual example of a Twitch
>> >> >> stream title:
>> >> >>
>> >> >> 🌱【 Stardew Valley Fanart 】🌱*:・゚✧【 800 Subpoints = NEW EMOTE
>> >> >> 】#devicat #anime #stardewvalley #fantasy
>> >> >
>> >> > Ok, I'll bite. What font would be used to properly display the
>> >> > above?
>> >>
>> >> Not sure, but the default fonts in my web browser, text editor, and
>> >> terminal all have no problems with it. I'm on Debian Linux running
>> >> Xfce, fwiw. Haven't had any issues anywhere.
>> >>
>> >> ChrisA
>> >
>> > Whereas I am on wheezy, 32 bit pae, using TDE as a desktop, with
>> > kmail-1.9-10-enterprise, using a 14 point unifont for the message
>> > body display.
>> >
>> > Its a nice clear, very readable font for these elderly eyes. I just
>> > tried several of the more std fonts w/o affecting the display of the
>> > rectangles you see above.  Hence the question and thread noise.
>> > Apparently, and despite being set for utf-8, I don't have a font
>> > capable of displaying this string in its entirety as I've just tried
>> > a couple dozen more.
>> >
>> > Thanks ChrisA.
>>
>> Oh! I just remembered. Try installing (through apt-get or equivalent)
>> the "unifont" package. It'll drag in a few fonts designed to provide
>> good coverage of all of Unicode, making them available as fallback
>> fonts. That way, when you use a font that doesn't have all the
>> characters, it'll use that for the bulk of the text, but instead of
>> the rectangles that you're seeing, you'll get the correct glyphs.
>>
>> ChrisA
>
> Checking now ChrisA, and I already have installed:
> unifont
> unifont.bin
> xfonts-unifont
> ttf-unifont
>
> all version 1:5.1.200809-14-1.3
>
> Is there another package to make it complete?
>
> I did select and install a couple that might have some connection. But I
> am still seeing the same rectangles. Obviously my guesses weren't
> SWAG's.

Hmm, now I'm not sure. I do know that, back when I was messing with
Thai and Chinese subtitles, I spent a LONG time messing around,
because inevitably, whichever font I picked, one or the other of them,
or the English subs, would look ugly. Dig around with fonts, install a
bunch of them; worst case, they just take up space on your disk. Sorry
I can't be more help.

ChrisA


More information about the Python-list mailing list