🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.free.newsservers
Article #155397

Re: Mixing fonts is -very- tricky. 

#155397
From: Michael Baeuerle
Date: Thu, 15 May 2014 14:43
85 lines
4239 bytes
Jeff-Relf.Me wrote:
> 
> When you post HTML, "format=fixed" means nothing.

Yes, but for the Content-Type that flnews uses it means what is
specified in RFC3676.

> When "Consolas" doesn't have a Greek letter,
> for example, FLTK should use DejaVu Sans Mono,
> or MS Mincho, or some such.

Yes, but the current version don't support it, even if compiled with
Freetype support.
 
> Mixing fonts, with their various height/width ratios,
> is -very- tricky, but it can be done.
> Visual Studio does it, as does FireFox/Thunderbird.

The general "include all the bloat" solution for POSIX based systems
is commonly:
http://www.pango.org/
(Way too fat for flnews)

> This shows how I mix Consolas with MS Mincho:
> http://Jeff-Relf.Me/Glyph.JPG
> http://Jeff-Relf.Me/DirectX.CPP

DirectXXX stuff can't be used on non-Windows systems like the ones
I use.

> Smarter Germans are not prejudiced 
> against HTML emails/posts, I'm sure.

The really are, trust me.
 
> Sure, -most- HTML emails/posts are bad... 
> but that doesn't mean it can't be done right.

Full acknowledge. But in general it *is* done wrong.
 
>   I use HTML ( or something like it )
>   when I edit Wikipedia, in CraigsList ads,
>   and in help forums.
> 
>   Mostly, it's just <PRE>;
>   but I also <Big> and <A>.
> 
> Those who don't understand that,
> and there are many, don't impress me...
> quite the opposite.

You should understand too - that you are alone. Nobody else use HTML
for something that is not "bad" in USENET. WWW or other places are
different worlds.

I don't care as long as I can read your postings without HTML decoder
too. This is the case, except the subjects. Looking on you subjects with
a hex viewer show that your newsreader attach:

   0xEFBBBF

to them at the end two times. This UTF-8 sequence represents the Unicode
codepoint U+FEFF:
http://www.fileformat.info/info/unicode/char/FEFF/index.htm

Because these 2 characters are invisible after printing to the screen
they make no sense in the "Subject" header field. Even worse, because
RFC5536 forbids non-ASCII characters in the header of USENET messages
you articles get corrupted.
If they are a mistake it would be nice if you would remove them. If
they should serve a special purpose, the 2 characters should be inserted
ad a MIME encoded-word as defined in RFC2047. Example using quoted-
printable encoding:

   =?UTF-8?Q?=EF=BB=BF=EF=BB=BF?=

As you can see in this thread the encoding may be guessed wrong or is
not understand at all otherwise and citatons break the subject.
(ForteAgent 3.3 have guessed it is ISO8859, slrn had detected the
invalid encoding and replaced all bytes with "?", flnews had replaced
the subject with an error message and I repaired it manually by
cut&paste from the source code viewer).


Micha
Technical Details
Message-ID: <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <AABTc1BSFrIAAAtZ.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.14{14.49.Seattle.2014}> <AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}>

Show Full Headers
Complete Article Headers
Message-ID: <AABTdNKdERgAAAiK.A1.flnews@WStation2.stz-e.de>
Subject: Re: Mixing fonts is -very- tricky. 
Date: Thu, 15 May 2014 14:43:41 +0000
From: Michael Baeuerle <michael.baeuerle@stz-e.de>
References: <AABTc1BSFrIAAAtZ.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.14{14.49.Seattle.2014}> <AABTdHqgK58AABXP.A1.flnews@WStation2.stz-e.de> <AABTdHwyK6EAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{2.47.Seattle.2014}> <AABTdJlxK6MAABXP.A1.flnews@WStation2.stz-e.de> <Jeff-Relf.Me@May.15{6.10.Seattle.2014}>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.free.newsservers.20150605.mbox.gz!border2.nntp.dca.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!newsfeed.datemas.de!news.albasani.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: alt.free.newsservers
Lines: 85
Reply-To: Michael Baeuerle <michael.baeuerle@gmx.net>
Mime-Version: 1.0
X-Trace: individual.net pxSJsVzEecJf1CuXjdHFTgdRgJVQ18ybvJAHLCfv8XX0CZofOr
X-Orig-Path: not-for-mail
Cancel-Lock: sha1:tBjmOGFDveAV3/HUN2fup3lNkCk=
Injection-Date: 15 May 2014 14:43:41 -0000
User-Agent: flnews/0.7pre18 (for NetBSD)