[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Still Unable to Print in Russian



On Tue, 29 Oct 2002, Harold Crouch wrote:

HC>***** Step 9: Download and install Postscript Type 1 fonts.
HC>I downloaded
HC>ftp.gnome.ru/fonts/urw/release/urw-fonts-1.0.7pre14-koi8r.tar.bz2.

HC>I unpacked them and copied them into /usr/share/fonts/type1/gsfonts.

HC>The names of the fonts I copied into the folder perfectly matched the
HC>names of the existing files, but the new files are larger.

HC>There are two new files in the directory: fonts.dir and fonts.scale.
HC>I believe that these files are used only by Abiword, so I will ignore
HC>them for now.

	No. This files needed for X.

HC>I then executed the following command:

HC>  defoma-font -q reregister-all /etc/defoma/hints/gsfonts.hints.

	it worked only for debian fontpackages, AFAIK.

HC>I did *not*  change anything in the /etc/printcap file.


	it does not matter

HC>***** Step 10: Print (2nd attempt)
HC>Reboot and...

HC>Russian characters still do not print correctly.

You need or

	1) (right, but looong way) instruct all programs, which
generate PostScript, to use specific -urw- font names instead of
standart names (Helvetica, Courier, Times).

	2) (quick dirty hack) change standart ghostscript font names
to point it to font with cyrillic glyphs. For example: I use fonts
from scalable-cyrfonts debian package for printing. And I add to end
of Fontmap (specifically, to
/var/lib/defoma/gs.d/dirs/fonts/Fontmap, but I believe there is a
more correct way to do so) such lines

----------------
/Times-Roman /NimbusRomanCYR-Regu ;
/Times-Italic /NimbusRomanCYR-ReguItal ;
/Times-BoldItalic /NimbusRomCYR-MediItal ;
/Times-Bold  /NimbusRomCYR-Medi ;

/Courier-Oblique /NimbusMonCYR-ReguObli ;
/Courier /NimbusMonCYR-Regu ;
/Courier-Bold /NimbusMonCYR-Bold ;
/Courier-BoldOblique /NimbusMonCYR-BoldObli ;

/Helvetica /NimbusSansCYR-Regu ;
/Helvetica-Oblique /NimbusSansCYR-ReguItal ;
/Helvetica-Bold /NimbusSansCYR-Bold ;
/Helvetica-BoldOblique /NimbusSansCYR-BoldItal ;
/Helvetica-Narrow-BoldOblique /NimbusSansCYR-BoldCondItal ;
----------------

	This method may somewhat damage display and|or printing
quality of non-cyrillic postcscript files.



Reply to: