StarOffice? (Was: Re: HP690C netiskne =?iso-8859-2?q?=e8esky?=)
Pavel Janík ml.
Pavel na Janik.cz
Neděle Prosinec 17 18:49:50 CET 2000
From: Pavel na janik.cz (Pavel Janík ml.)
Date: 17 Dec 2000 18:19:06 +0100
> # Filtr pro substituci písem
> /usr/bin/sofc
>
> - Hmm, tohle by se mohlo přepsat do sedu, aby se nevolal Titanic (je to v
> příloze).
hmm, tak není. Listserver to nepropustil.
--
Pavel Janík ml.
Pavel na Janik.cz
http://www.janik.cz
------------- další část ---------------
#!/usr/bin/sed -f
# This script translates all occurences of names of basic MS Windows fonts
# Arial, TimesNew Roman and Courier in PostScript output with their
# substitutes provided by URW++.
# The point of this translation is to allow users to use the same font
# names in StarOffice under Windows and Linux.
# Also, when document comes from MS Windows, there is high probability,
# it'll contain some of these fonts. If yes, we map those correctly.
# This script should be used as a printer filter, like
#
# default_queue=sofc | lpr
#
# in ~/.Xpdefaults
# Author: Radim Gelner <gelnerr na suse.cz>
# Translation to sed: Pavel Janik <Pavel.Janik na suse.cz>
s/Arial-BoldItalic/NimbusSanLEE-BoldItal/g
s/Arial-Bold/NimbusSanLEE-Bold/g
s/Arial-Italic/NimbusSanLEE-ReguItal/g
s/Arial-Medium/NimbusSanLEE-Regu/g
s/CourierNew-BoldItalic/NimbusMonLEE-BoldObli/g
s/CourierNew-Bold/NimbusMonLEE-Bold/g
s/CourierNew-Italic/NimbusMonLEE-ReguObli/g
s/CourierNew-Medium/NimbusMonLEE-Regu/g
s/TimesNewRoman-BoldItalic/NimbusRomNo9LEE-MediItal/g
s/TimesNewRoman-Bold/NimbusRomNo9LEE-Medi/g
s/TimesNewRoman-Italic/NimbusRomNo9LEE-ReguItal/g
s/TimesNewRoman-Medium/NimbusRomNo9LEE-Regu/g
Další informace o konferenci Linux