Linux console tools development discussion
 help / color / mirror / Atom feed
* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1
  @ 2009-02-11 22:17 ` Alexey Gladkov
  2009-02-12 16:12   ` Lefteris Dimitroulakis
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Gladkov @ 2009-02-11 22:17 UTC (permalink / raw)
  To: Matthew Burgess; +Cc: kbd

Matthew Burgess wrote:
> Hi Alexey,
> 
> I'm viewing man pages using a combination of groff-1.20.1 and the lat1-16
> font from kbd-1.15.  You can see the results of this at
> http://www.linuxfromscratch.org/~matthew/test-results/preconv.en_utf8.jpg.
> 
> As you can see, the line-break character (U+2010) isn't displayed correctly.
> 
> We used to workaround this with previous versions of Groff by substituting
> U+2010, U+2212 to U+002D (minus sign).  See

It seems that these characters are not mapped at all. At least the U+2010.

> http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/groff.html.  Due to
> a change in Groff, that substitution no longer applies.
> 
> Is it possible to map those characters like that in the lat1-16 font itself?
> That way, if there happen to be any other programs that output the
> problematic characters, they'll display correctly without any further changes.
> 
> If so, how might we go about this, and is this suitable for the upstream
> Kbd package sources?

I think we can map this characters if they not mapped at all.

P.S. Add CC: kbd@lists.

Anyone have any ideas ?

-- 
Rgrds, legion



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1
  2009-02-11 22:17 ` [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 Alexey Gladkov
@ 2009-02-12 16:12   ` Lefteris Dimitroulakis
  0 siblings, 0 replies; 2+ messages in thread
From: Lefteris Dimitroulakis @ 2009-02-12 16:12 UTC (permalink / raw)
  To: Linux console tools development discussion

[-- Attachment #1: Type: text/plain, Size: 1562 bytes --]

Στις Thursday 12 February 2009 00:17:54 ο/η Alexey Gladkov έγραψε:
> Matthew Burgess wrote:
> > Hi Alexey,
> > 
> > I'm viewing man pages using a combination of groff-1.20.1 and the lat1-16
> > font from kbd-1.15.  You can see the results of this at
> > http://www.linuxfromscratch.org/~matthew/test-results/preconv.en_utf8.jpg.
> > 
> > As you can see, the line-break character (U+2010) isn't displayed correctly.
> > 
> > We used to workaround this with previous versions of Groff by substituting
> > U+2010, U+2212 to U+002D (minus sign).  See
> 
> It seems that these characters are not mapped at all. At least the U+2010.
> 
> > http://www.linuxfromscratch.org/lfs/view/6.4/chapter06/groff.html.  Due to
> > a change in Groff, that substitution no longer applies.
> > 
> > Is it possible to map those characters like that in the lat1-16 font itself?
> > That way, if there happen to be any other programs that output the
> > problematic characters, they'll display correctly without any further changes.
> > 
> > If so, how might we go about this, and is this suitable for the upstream
> > Kbd package sources?
> 
> I think we can map this characters if they not mapped at all.
> 
I don't see any problem so I am attaching newlat1-16.psfu with new mappings
U+2010, U+2012, U+2013 and U+2212 to U+002d.

If someone wish to play with and change mappings here it is:

$psfgettable lat1-16.psfu > table.txt

Editing table.txt ---> newtable.txt with our preferences and then

$psfaddtable lat1-16.psfu newtable.txt newlat1-16.psfu.

cheers
Lefteris


[-- Attachment #2: newlat1-16.psfu.gz --]
[-- Type: application/x-gzip, Size: 1984 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-12 16:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-11 22:17 ` [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 Alexey Gladkov
2009-02-12 16:12   ` Lefteris Dimitroulakis

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git