* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 [not found] <200902121900.03293.edimitro@tee.gr> @ 2009-02-16 23:50 ` Matthew Burgess 2009-02-18 21:22 ` Alexey Gladkov 0 siblings, 1 reply; 6+ messages in thread From: Matthew Burgess @ 2009-02-16 23:50 UTC (permalink / raw) To: edimitro; +Cc: kbd [-- Attachment #1: Type: text/plain, Size: 701 bytes --] On Thu, 12 Feb 2009 19:00:03 +0200, Lefteris Dimitroulakis <edimitro@tee.gr> wrote: > 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. For some reason, your newlat1-16.psfu didn't work for me (setfont complained of bad input file size, psfgettable complained of bad magic number). I suspect this was just a download issue. I followed your other instructions and have managed to get it working with the font file (also at http://www.linuxfromscratch.org/~matthew/lat1-16.psfu.gz). Alexey, is that file suitable for inclusion in kbd, or do you want a patch against the 'psfgettable' for lat1-16? Thanks for you help! Matt. [-- Attachment #2: lat1-16.psfu.gz --] [-- Type: application/x-gzip, Size: 1990 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 2009-02-16 23:50 ` [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 Matthew Burgess @ 2009-02-18 21:22 ` Alexey Gladkov 0 siblings, 0 replies; 6+ messages in thread From: Alexey Gladkov @ 2009-02-18 21:22 UTC (permalink / raw) To: Linux console tools development discussion Matthew Burgess wrote: > On Thu, 12 Feb 2009 19:00:03 +0200, Lefteris Dimitroulakis <edimitro@tee.gr> wrote: > >> 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. > > For some reason, your newlat1-16.psfu didn't work for me (setfont > complained of bad input file size, psfgettable complained of bad magic > number). I suspect this was just a download issue. I followed your other > instructions and have managed to get it working with the font file (also at > http://www.linuxfromscratch.org/~matthew/lat1-16.psfu.gz). > > Alexey, is that file suitable for inclusion in kbd, or do you want a patch against > the 'psfgettable' for lat1-16? I think patch is better. -- Rgrds, legion ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <49A78A87.3000900@gmail.com>]
* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 [not found] <49A78A87.3000900@gmail.com> @ 2009-02-28 18:09 ` Matthew Burgess 2009-03-06 23:55 ` Alexey Gladkov 0 siblings, 1 reply; 6+ messages in thread From: Matthew Burgess @ 2009-02-28 18:09 UTC (permalink / raw) To: kbd [-- Attachment #1: Type: text/plain, Size: 1061 bytes --] On Fri, 27 Feb 2009 09:39:03 +0300, Alexey Gladkov <gladkov.alexey@gmail.com> wrote: > Matthew Burgess wrote: >> On Thu, 12 Feb 2009 19:00:03 +0200, Lefteris Dimitroulakis > <edimitro@tee.gr> wrote: >> >>> 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. >> >> For some reason, your newlat1-16.psfu didn't work for me (setfont >> complained of bad input file size, psfgettable complained of bad magic >> number). I suspect this was just a download issue. I followed your > other >> instructions and have managed to get it working with the font file (also > at >> http://www.linuxfromscratch.org/~matthew/lat1-16.psfu.gz). >> >> Alexey, is that file suitable for inclusion in kbd, or do you want a >> patch against the 'psfgettable' for lat1-16? > > I think patch is better. OK, here's the patch against the output of 'pdfgettable lat1-16.psfu lat1-16.table.orig' I've also added mappings for the 2 'quote' type characters that GCC outputs in some of its warnings. Regards, Matt. [-- Warning: decoded text below may be mangled, UTF-8 assumed --] [-- Attachment #2: kbd-1.15-lat1_16_hyphen-1.patch --] [-- Type: text/x-diff; name="kbd-1.15-lat1_16_hyphen-1.patch", Size: 164 bytes --] 43c43 < 0x027 U+0027 --- > 0x027 U+0027 U+2019 49c49 < 0x02d U+002d --- > 0x02d U+002d U+2010 U+2012 U+2013 U+2212 100c100 < 0x060 U+0060 --- > 0x060 U+0060 U+2018 ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 2009-02-28 18:09 ` Matthew Burgess @ 2009-03-06 23:55 ` Alexey Gladkov 0 siblings, 0 replies; 6+ messages in thread From: Alexey Gladkov @ 2009-03-06 23:55 UTC (permalink / raw) To: Linux console tools development discussion; +Cc: matthew On 28.02.2009 21:09, Matthew Burgess wrote: > I've also added mappings for the 2 'quote' type characters that GCC > outputs in some of its warnings. Applied, thanks! -- Rgrds, legion ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <d0239282eabaf6acc990ed5b73297d1d@quantum.linuxfromscratch.org>]
* Re: [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 [not found] <d0239282eabaf6acc990ed5b73297d1d@quantum.linuxfromscratch.org> @ 2009-02-11 22:17 ` Alexey Gladkov 2009-02-12 16:12 ` Lefteris Dimitroulakis 0 siblings, 1 reply; 6+ 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] 6+ messages in thread
* 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, 0 replies; 6+ 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] 6+ messages in thread
end of thread, other threads:[~2009-03-06 23:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <200902121900.03293.edimitro@tee.gr>
2009-02-16 23:50 ` [kbd] kbd-1.15 lat1-16 font issues with groff-1.20.1 Matthew Burgess
2009-02-18 21:22 ` Alexey Gladkov
[not found] <49A78A87.3000900@gmail.com>
2009-02-28 18:09 ` Matthew Burgess
2009-03-06 23:55 ` Alexey Gladkov
[not found] <d0239282eabaf6acc990ed5b73297d1d@quantum.linuxfromscratch.org>
2009-02-11 22:17 ` Alexey Gladkov
2009-02-12 16:12 ` Lefteris Dimitroulakis
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox