🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
15 messages
15 total messages Started by Paul_B Sat, 15 Oct 2005 23:57
Dialog - charset/font problem
#175042
Author: Paul_B
Date: Sat, 15 Oct 2005 23:57
26 lines
1727 bytes
Please take a look at 

Message-ID:
<1129417305.239306.226390@z14g2000cwz.googlegroups.com>
NNTP-Posting-Host: 202.101.202.129
Mime-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable


if you will. Here in Dialog I get a strange font readout on it
that's hard to read.

What is it that makes Dialog use a different font, and how do I
correct it? I have set for the group the program default charset
ISO-8859-15. For font substitutions the only one I've specced is
G2->Verdana, and that did nothing for this. Verdana 8 is the
default body font.

Is it the QP that's throwing this, or the utf-8?

p.


-- 
Using Dialog version beta 2.0.15.1 (beta 38).
Re: Dialog - charset/font problem
#175050
Author: Bertel Lund Hansen
Date: Sun, 16 Oct 2005 07:15
51 lines
2625 bytes
Paul_B skrev:

> Please take a look at 
 
> Message-ID:
> <1129417305.239306.226390@z14g2000cwz.googlegroups.com>

I can't get it from my provider, but I think I know the
'problem'.

> Content-Type: text/plain; charset="utf-8"

> if you will. Here in Dialog I get a strange font readout on it
> that's hard to read.
 
> What is it that makes Dialog use a different font

The fact that your standard font cannot handle all the characters
that are in the UTF-8-set. Dialog then automatically falls back
to a font that can. In my case it is Lucida Sans Unicode - the
only font on my system that has more than the limited western
set. It is by no means unreadable, but looks different from my
standard Times New Roman. The switch becomes a little less marked
if I adjust the size of the Lucida Sans Unicode by setting the
size correction to -1.

Settings - General - Fonts/colors - Edit variable fonts fallback.

>and how do I correct it?

You can diable fallback. In that case you will se small squares
replacing all the letters that your standard font can't handle.

Another solution is to choose Lucida Sans Unicode as your
standard font. Then there will be no switch.

> Is it the QP that's throwing this

No. QP is 'harmless' - it only codes and decodes, reproducing the
original. 

>or the utf-8?

It's some of the the special characters that are found in UTF-8.
I could have forced this answer to use UTF-8, but it would not
provoke your system to switch font since I have only used
standard English characters.

-- 
Bertel
Denmark
Re: Dialog - charset/font problem
#175052
Author: Enrico Bauer
Date: Sun, 16 Oct 2005 09:15
35 lines
3050 bytes
16.10.2005 09:15:45, *Bertel Lund Hansen *:
> Paul_B skrev:
>>and how do I correct it?
> You can diable fallback. In that case you will se small squares
> replacing all the letters that your standard font can't handle.

,---- [dialog.chm::/charactersetsandunicode.htm] 
| Fonts and font fallbacks 
| Not all fonts have character glyphs for all characters, e.g. there is
| only a handful of fonts that have glyphs for Chinese characters. 
| You can set which font to use in the newsgroup list, the list of
| articles headers and in the body pane on the Settings>General
| settings>Fonts/colors page. With each portion of text Dialog needs to
| display it will check if the font you selected on this settings page has
| all glyphs that are needed to correctly display the text. If there are
| glyphs missing, e.g. when you selected MS Sans Serif as the body font,
| but you are trying to display a Chinese article, Dialog will use a font
| fallback mechanism. 
| Font fallback means that it will iterate through a list of fonts
| available on your computer and automatically pick the one that has most
| (perfectly all) of the character glyphs needed to display the text. 
| This approach makes it possible to use your favorite font as a default
| font for most articles, but at the same time correctly display text that
| is beyond the scope of the default font. 
| The list of fallback fonts can be arranged Settings>General
| settings>Fonts/colors page and the font fallback feature can be disabled
| at all, e.g. when there is a font fallback feature available through the
| operation system already (Windows 2000/XP with East-asia language
| support installed).
'----
HTH
Enrico B.
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: Dialog - charset/font problem
#175055
Author: Paul_B
Date: Sun, 16 Oct 2005 13:22
71 lines
3631 bytes
On Sun, 16 Oct 2005 09:15:45 +0200, Bertel Lund Hansen  wrote:

> Paul_B skrev:
> 
>> Please take a look at 
>  
>> Message-ID:
>> <1129417305.239306.226390@z14g2000cwz.googlegroups.com>
> 
> I can't get it from my provider, but I think I know the
> 'problem'.
> 
>> Content-Type: text/plain; charset="utf-8"
> 
>> if you will. Here in Dialog I get a strange font readout on it
>> that's hard to read.
>  
>> What is it that makes Dialog use a different font
> 
> The fact that your standard font cannot handle all the characters
> that are in the UTF-8-set. Dialog then automatically falls back
> to a font that can. In my case it is Lucida Sans Unicode - the
> only font on my system that has more than the limited western
> set. It is by no means unreadable, but looks different from my
> standard Times New Roman. The switch becomes a little less marked
> if I adjust the size of the Lucida Sans Unicode by setting the
> size correction to -1.
> 
> Settings - General - Fonts/colors - Edit variable fonts fallback.
> 
>>and how do I correct it?
> 
> You can diable fallback. In that case you will se small squares
> replacing all the letters that your standard font can't handle.
> 
> Another solution is to choose Lucida Sans Unicode as your
> standard font. Then there will be no switch.
> 
>> Is it the QP that's throwing this
> 
> No. QP is 'harmless' - it only codes and decodes, reproducing the
> original. 
> 
>>or the utf-8?
> 
> It's some of the the special characters that are found in UTF-8.
> I could have forced this answer to use UTF-8, but it would not
> provoke your system to switch font since I have only used
> standard English characters.


That makes a whole lot of sense. I disabled font fallback and
immediately got a regular display in Verdana. Not only that, but
I didn't see any signs of dropped characters. Maybe this part of
the Help file was kicking in at this point:

	font fallback feature can be disabled [completely], e.g. when 
	there is a font fallback feature available through the operation 
	system already (Windows 2000/XP with East-asia language support 
	installed). 


However, before I disabled FF, I tried setting Lucida Sans
Unicode's size correction to +2 and -1, with no change in
display. How would one know that Dialog is reverting to this
particular font in trying to display utf-8?

Thanks,
p.
-- 
Using Dialog version beta 2.0.15.1 (beta 38).
Re: Dialog - charset/font problem
#175057
Author: Enrico Bauer
Date: Sun, 16 Oct 2005 15:33
23 lines
2256 bytes
16.10.2005 15:22:50, *Paul_B*:
> How would one know that Dialog is reverting to this
> particular font in trying to display utf-8?

JFTR Dialog does not use the font fallback to display /utf-8/, it
displays special *characters* not available in the standard font encoded
with utf-8. As Bertel said: I could force Dialog to encode this article
with utf-8 and the article would be displayed without any font fallback
because there are no characters in it not available in your standard
font. It's just a coincidence that Dialog needs font fallback more often
with utf-8 encoded articles.

My question: Why should one ask if Dialog is reverting to one particular
font? Is that of any interest? All I care is if I see all characters
encoded in that article.
If you ask anyway :-): If you set the loglevel to 0, you can see why
Dialog picks which font.

Take care!
Enrico B.
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: Dialog - charset/font problem
#175059
Author: Marsjanin
Date: Sun, 16 Oct 2005 16:17
15 lines
2169 bytes
  Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po 9-ej.
  Nagle zza rogu Bertel Lund Hansen  wrzuca na news.software.readers:

> The fact that your standard font cannot handle all the characters
> that are in the UTF-8-set. Dialog then automatically falls back to
> a font that can. In my case it is Lucida Sans Unicode - the only
> font on my system that has more than the limited western set. 

Hey, I got it too, but I use the font "DejaVu Sans Mono" and AFAIK it
handles UTF-8, but is switched then to "Courier New"... Why?

-- 
  Pozdrawiam,  Marsjanin.  Yahoo! :  marsjanin_tk
  Bądźcie Państwo zdrowi! (C) Mariusz Karliński
  Nic nie gra. Cudowna cisza...  :-]
Re: Dialog - charset/font problem
#175060
Author: Paul_B
Date: Sun, 16 Oct 2005 16:36
34 lines
2548 bytes
On Sun, 16 Oct 2005 17:33:28 +0200, Enrico Bauer wrote:

> 16.10.2005 15:22:50, *Paul_B*:
>> How would one know that Dialog is reverting to this
>> particular font in trying to display utf-8?
> 
> JFTR Dialog does not use the font fallback to display /utf-8/, it
> displays special *characters* not available in the standard font encoded
> with utf-8. As Bertel said: I could force Dialog to encode this article
> with utf-8 and the article would be displayed without any font fallback
> because there are no characters in it not available in your standard
> font. It's just a coincidence that Dialog needs font fallback more often
> with utf-8 encoded articles.
> 
> My question: Why should one ask if Dialog is reverting to one particular
> font? Is that of any interest? All I care is if I see all characters
> encoded in that article.
> If you ask anyway :-): If you set the loglevel to 0, you can see why
> Dialog picks which font.
> 
> Take care!
> Enrico B.



Are you saying Dialog mixes fonts in a given message with the
extended characters? Because that wasn't what I saw. The entire
article was displayed in the same ungainly font, whatever it
might have been. And conversely, when I disabled FF, the entire
message displayed with no missing character flags.

p.
-- 
Using Dialog version beta 2.0.15.1 (beta 38).
Re: Dialog - charset/font problem
#175061
Author: Lars Biskupek
Date: Sun, 16 Oct 2005 16:42
20 lines
1898 bytes
Marsjanin schrieb/wrote:

> Hey, I got it too, but I use the font "DejaVu Sans Mono" and AFAIK it
> handles UTF-8,...

I've never seen any font that comes with all "letters" UTF-8 could come
up with.

> ...but is switched then to "Courier New"... Why?

Set LogLevel to 0 and Dialog will tell you. ;-)



HTH,

Lars Biskupek
-- 
Einer, der nichts weiß und weiß, daß er nichts weiß, weiß mehr
als einer, der nichts weiß und nicht weiß, daß er nichts weiß.
Re: Dialog - charset/font problem
#175063
Author: Enrico Bauer
Date: Sun, 16 Oct 2005 18:15
17 lines
1816 bytes
16.10.2005 18:36:37, *Paul_B*:
> Are you saying Dialog mixes fonts in a given message with the
> extended characters?

No, unfortunately Dialog doesn't handle it that way.

> And conversely, when I disabled FF, the entire message displayed with
> no missing character flags.

With what font? What's the position of that font in the list of fallback
fonts?

Take care!
Enrico B.
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: Dialog - charset/font problem
#175064
Author: Marsjanin
Date: Sun, 16 Oct 2005 19:39
24 lines
2588 bytes
  Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po 18-ej.
  Nagle zza rogu Lars Biskupek wrzuca na news.software.readers:

>> Hey, I got it too, but I use the font "DejaVu Sans Mono" and AFAIK
>> it handles UTF-8,...
> I've never seen any font that comes with all "letters" UTF-8 could
> come up with.

OK, but all the European, and Cyrillic it has. And, the message was
has a Polish chars only (ąćęłńóśźżĄĆĘŁŃÓŚŹŻ) that might be encoded
with ISO-8859-2 too, and maybe some characters like lowerquotation
marks („”) or three dots (…) sign. No Chinese or engineering symbols.
I can't remember - but when I will see some similar again, I will type
M-ID here. 
 
>> ...but is switched then to "Courier New"... Why?
> Set LogLevel to 0 and Dialog will tell you. ;-)

Will do, thanks.

-- 
  Pozdrawiam,  Marsjanin.  Tlen.pl :  marsjanin-tk
  A może to nie Ranish, tylko zasilacz?  :-(  <http://skocz.pl/ranish>
  Nic nie gra. Cudowna cisza...  :-]
Re: Dialog - charset/font problem
#175065
Author: Ted S.
Date: Sun, 16 Oct 2005 19:47
12 lines
1439 bytes
Somebody claiming to be Marsjanin <10.2005.usenet@marsjanin.tk> wrote in 
news:19jx33lvd194.dlg@marsjanin.tk:

>   Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po 9-ej.
 
Is your server off by a month, or is my understanding of the Polish 
calendar off?  :-)

-- 
Ted <fedya at bestweb dot net>
Oh Marge, anyone can miss Canada, all tucked away down there....
--Homer Simpson
Re: Dialog - charset/font problem
#175066
Author: Paul_B
Date: Sun, 16 Oct 2005 21:46
20 lines
1777 bytes
On Sun, 16 Oct 2005 20:15:53 +0200, Enrico Bauer wrote:


>> And conversely, when I disabled FF, the entire message displayed with
>> no missing character flags.
> 
> With what font? What's the position of that font in the list of fallback
> fonts?
> 
> Take care!
> Enrico B.


You're losing me here. My default body font is Verdana, but at 
this point I had disabled fallback, so why would it matter what 
position it had?

p.
-- 
Using Dialog version beta 2.0.15.1 (beta 38).
Re: Dialog - charset/font problem
#175067
Author: Marsjanin
Date: Sun, 16 Oct 2005 21:49
15 lines
2086 bytes
  Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po 19-ej.
  Nagle zza rogu Ted S. wrzuca na news.software.readers:

>> Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po
>> 9-ej.
> Is your server off by a month, or is my understanding of the Polish
> calendar off?  :-)

:-)
"Year 2005 - October. Exactly, Sunday, 16th. Some past 9 AM".

-- 
  Pozdrawiam,  Marsjanin.  WWW :  marsjanin.tk
  ATI Rage IIC 4 MB RAM AGP - niby lepiej, ale gdzie wąskie gardło DivX?
  Nic nie gra. Cudowna cisza...  :-]
Re: Dialog - charset/font problem
#175086
Author: Enrico Bauer
Date: Mon, 17 Oct 2005 16:41
21 lines
2331 bytes
16.10.2005 23:46:28, *Paul_B*:
> On Sun, 16 Oct 2005 20:15:53 +0200, Enrico Bauer wrote:
>> With what font? What's the position of that font in the list of fallback
>> fonts?
> You're losing me here. My default body font is Verdana, but at 
> this point I had disabled fallback, so why would it matter what 
> position it had?

I am interested in the fact, why Dialog chose another font in the first
place to display the an article.
The position only would have mattered, if Verdana would not have been
your default font. I didn't get that, my fault, I guess.
So Verdana could have been a font your familiar with but nevertheless
never reached in the font fall feature because it appeared too far down
the list. But, since it isn't so, that leads nowhere ...

Take care!
Enrico B.
-- 
No fear. No distractions. The ability to let that
which does not matter truly slide.
Re: Dialog - charset/font problem
#175155
Author: Marsjanin
Date: Tue, 18 Oct 2005 21:42
27 lines
2771 bytes
  Rok 2005 - październik. Dokładnie to niedziela, 16-go. Nieco po 21-ej.
  Nagle zza rogu Marsjanin wrzuca na news.software.readers:

> [..]  when I will see some similar again, I will type M-ID here. 

GOT IT! But... It's my fault (as far as i look at *these* messages).
Here comes what zero level logging displays:

|log|  7 686976: Zmieniono poziom logowania na 0
|log|  0 691300: FDATA: Extracting body of GroupKey: 40 ArticleKey: 18
|log|  0 691305: FontFB: Font "DejaVu Sans Mono" is missing 2 glyphs.
|log|  0 691306: FontFB: Font "Courier New" is missing 0 glyphs.
|log|  0 691306: FontFB: Using font "Courier New" which is missing 0 glyphs.
|log|  0 691317: FDATA: Extracting body of GroupKey: 40 ArticleKey: 18
|log|  0 691330: FDATA: Extracting body of GroupKey: 40 ArticleKey: 18

So there *are* some missing glyphs, an arrows representing in DejaVu
as rectangles. I must saw it as "-", I think.  :-]

Beginning message: <news:op.syuxuhcbhasbim@qbic>
*That* message: <news:op.syu0sqir7yi4yp@localhost.localdomain>
Group: news:opera.polish

-- 
  Pozdrawiam,  Marsjanin.  E-mail :  Po prostu odpowiedz..
  Bądźcie Państwo zdrowi! (C) Mariusz Karliński
  Nic nie gra. Cudowna cisza...  :-]
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads