DevHeads.net

Centos 7.5 and Courier 10 Pitch fonts in Libreoffice

Everyone,

With the update to Centos 7.5 it is apparent that we lost the Courier
10 Pitch fonts that were in "xorg-x11-fonts-Type1". Does anyone know
how to get this back.

Greg Ennis

Comments

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Pete Biggs at 05/12/2018 - 13:13

# cat /etc/centos-release
CentOS Linux release 7.5.1804 (Core)
# rpm -q --all | grep Type1
xorg-x11-fonts-Type1-7.5-9.el7.noarch
# grep courier /usr/share/X11/fonts/Type1/fonts.dir
c0419bt_.pfb -bitstream-courier 10 pitch-medium-r-normal--0-0-0-0-m-0-iso10646-1
c0419bt_.pfb -bitstream-courier 10 pitch-medium-r-normal--0-0-0-0-m-0-iso8859-1
c0582bt_.pfb -bitstream-courier 10 pitch-medium-i-normal--0-0-0-0-m-0-iso10646-1
c0582bt_.pfb -bitstream-courier 10 pitch-medium-i-normal--0-0-0-0-m-0-iso8859-1
c0583bt_.pfb -bitstream-courier 10 pitch-bold-r-normal--0-0-0-0-m-0-iso10646-1
c0583bt_.pfb -bitstream-courier 10 pitch-bold-r-normal--0-0-0-0-m-0-iso8859-1
c0611bt_.pfb -bitstream-courier 10 pitch-bold-i-normal--0-0-0-0-m-0-iso10646-1
c0611bt_.pfb -bitstream-courier 10 pitch-bold-i-normal--0-0-0-0-m-0-iso8859-1
# ls /usr/share/X11/fonts/Type1/c0*
/usr/share/X11/fonts/Type1/c0419bt_.afm /usr/share/X11/fonts/Type1/c0632bt_.afm
/usr/share/X11/fonts/Type1/c0419bt_.pfb /usr/share/X11/fonts/Type1/c0632bt_.pfb
/usr/share/X11/fonts/Type1/c0582bt_.afm /usr/share/X11/fonts/Type1/c0633bt_.afm
/usr/share/X11/fonts/Type1/c0582bt_.pfb /usr/share/X11/fonts/Type1/c0633bt_.pfb
/usr/share/X11/fonts/Type1/c0583bt_.afm /usr/share/X11/fonts/Type1/c0648bt_.afm
/usr/share/X11/fonts/Type1/c0583bt_.pfb /usr/share/X11/fonts/Type1/c0648bt_.pfb
/usr/share/X11/fonts/Type1/c0611bt_.afm /usr/share/X11/fonts/Type1/c0649bt_.afm
/usr/share/X11/fonts/Type1/c0611bt_.pfb /usr/share/X11/fonts/Type1/c0649bt_.pfb

P.

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/12/2018 - 12:50

On Sat, 2018-05-12 at 12:17 -0500, Gregory P. Ennis wrote:
Hi,

Type 1 font support was dropped for 5.3. See below article.

<a href="http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s-Blog/Lib" title="http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s-Blog/Lib">http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s-...</a>
reOffice-drops-Type-1-font-support

Regards

Phil

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Gregory P. Ennis at 05/12/2018 - 14:05

On Sat, 2018-05-12 at 12:17 -0500, Gregory P. Ennis wrote:
Hi,

Type 1 font support was dropped for 5.3. See below article.

<a href="http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s" title="http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s">http://www.linux-magazine.com/Online/Blogs/Off-the-Beat-Bruce-Byfield-s</a>
-Blog/LibreOffice-drops-Type-1-font-support

Regards

Phil

Phil,

Thanks very much, you saved me a bunch of time trying to debug this.
However, I surely wish LibreOffice had not taken this course of action.
The comments in the link you gave me makes reference to a fix in the
"Advanced" tools of LibreOffice by changing the "TextLayoutEngine" to
"old" but I was not able to identify this flag in LibreOffice 5.3.6.1.

Looks like the days of the Courier 10 Pitch font have concluded.

Greg

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/12/2018 - 14:27

On Sat, 2018-05-12 at 14:05 -0500, Gregory P. Ennis wrote:

Hi,

On a test VM, I have managed to find the flag and set it.

Tools -> Options -> (LibreOffice) Advanced -> Open Expert Configuration
(button).

When dialog appears. Insert and search for 'TextLayoutEngine'. Double click on
'VCL' and change from 'new' to 'old' and 'OK' button your way back to writer.
Close writer and restart and you will have the font requested back for use.

Regards

Phil

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/12/2018 - 14:32

On Sat, 2018-05-12 at 20:27 +0100, Phil Wyett wrote:
Hi,

Hold that thought. Once changed it is very buggy (no cursor) and not working
correctly when you try use Courier Pitch 10.

Shame...

Regards

Phil

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Gregory P. Ennis at 05/13/2018 - 11:00

On Sat, 2018-05-12 at 20:27 +0100, Phil Wyett wrote:
Hi,

Hold that thought. Once changed it is very buggy (no cursor) and not
working
correctly when you try use Courier Pitch 10.

Shame...

Regards

Phil

Phil,

Thanks again, sure appreciate your help!!!  

I have started the process of trying to replace our templates with a
new font. 'Liberation mono' is a close match, but for some reason I
don't like the way it looks when the whole page of type is scanned all
together.

Greg

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Leon Fauster at 05/14/2018 - 06:58

Am 13.05.2018 um 18:00 schrieb Gregory P. Ennis < ... at PoMec dot Net>:
Try to convert the type1 fonts into a truetype
container (using fontforge) and install them
into your home directory. This can be scripted
with "fontforge -script" ... as far as I remember.

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By fred smith at 05/14/2018 - 09:38

On Mon, May 14, 2018 at 01:58:51PM +0200, Leon Fauster wrote:
how about just using the "courier new" that you should get as part
of LibreOffice?

If you want 10 pitch, try choosing 12 point (and 12-pitch should be 10 point)

Fred

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/14/2018 - 10:47

On Mon, 2018-05-14 at 10:38 -0400, Fred Smith wrote:
Not a font offered n RHEL version build of libreoffice.

Regards

Phil

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Pete Biggs at 05/12/2018 - 13:07

On Sat, 2018-05-12 at 18:50 +0100, Phil Wyett wrote:
Who mentioned LibreOffice?

Surely fonts are used by things other than LO - what about TeX or even
screen fonts?

P.

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/12/2018 - 13:24

On Sat, 2018-05-12 at 19:07 +0100, Pete Biggs wrote:
Hi,

See subject line for libreoffice reference.

Regards

Phil

Re: Centos 7.5 and Courier 10 Pitch fonts in Libreoffic

By Phil Wyett at 05/12/2018 - 13:35

On Sat, 2018-05-12 at 19:27 +0100, Pete Biggs wrote:
Hi,

No need to be sorry. We all have moments. :-)

Regards

Phil