Bug 16074 - Drakfont is unable to import OTF fonts
Summary: Drakfont is unable to import OTF fonts
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard: MGA5TOO MGA4TOO
Keywords: PATCH
: 10501 15996 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-06-03 10:24 CEST by claire robinson
Modified: 2015-06-03 19:52 CEST (History)
2 users (show)

See Also:
Source RPM: drakxtools
CVE:
Status comment:


Attachments
fix moving fonts (725 bytes, patch)
2015-06-03 10:56 CEST, Thierry Vignaud
Details | Diff

Description claire robinson 2015-06-03 10:24:20 CEST
Affects Cauldron/Mga5 and Mga4

eg. from mga5

# drakfont --install /home/user/Exo-Regular.otf 
Ignore the following Glib::Object::Introspection & Gtk3 warnings
WARNING **: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-BFJiQFl6QT: Connection refused at /usr/lib/perl5/vendor_perl/5.20.1/Gtk3.pm line 324.
Subroutine Gtk3::main redefined at /usr/lib/perl5/vendor_perl/5.20.1/Gtk3.pm line 296.
Before installing any fonts, be sure that you have the right to use and install them on your system.

You can install the fonts the normal way. In rare cases, bogus fonts may hang up your X Server.

Install Specifics Fonts...........
Font to install: /home/user/Exo-Regular.otf
type1inst Version 0.6.1 (11th February 1998)
Copyright (C) 1996-1998 James Macnicol (james.macnicol@mailexcite.com)

There are no PostScript fonts in this directory
cat: Fontmap: No such file or directory
type1inst Version 0.6.1 (11th February 1998)
Copyright (C) 1996-1998 James Macnicol (james.macnicol@mailexcite.com)

There are no PostScript fonts in this directory

The End...........................



Manually copying the otf's to /usr/share/fonts/drakfont/otf/ works ok.

Reproducible: 

Steps to Reproduce:
claire robinson 2015-06-03 10:24:50 CEST

Hardware: i586 => All
Whiteboard: (none) => MGA5TOO MGA4TOO

Comment 1 Thierry Vignaud 2015-06-03 10:56:44 CEST
Created attachment 6695 [details]
fix moving fonts
Thierry Vignaud 2015-06-03 10:56:50 CEST

Keywords: (none) => PATCH

Comment 3 Thierry Vignaud 2015-06-03 11:10:24 CEST
*** Bug 15996 has been marked as a duplicate of this bug. ***

CC: (none) => thomas

Comment 4 Thierry Vignaud 2015-06-03 11:12:23 CEST
*** Bug 10501 has been marked as a duplicate of this bug. ***

CC: (none) => danielosmari

Comment 5 claire robinson 2015-06-03 11:44:01 CEST
Confirmed the fix locally. The cli output is the same but the font is now imported.
Comment 6 Mageia Robot 2015-06-03 18:13:20 CEST
commit b6e862baada2150b90964a79fca55c2b36924b9d
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu May 28 21:48:11 2015 -0400

    fix moving fonts (mga#16074)
    
    bug introduced in commit fa7f54e968cebad63914465a603aa65eef9af1be
    
    also do not create files in / (mga#10501, mga#15996)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=b6e862baada2150b90964a79fca55c2b36924b9d

 Bug links:
   Mageia
      https://bugs.mageia.org/10501
      https://bugs.mageia.org/15996
      https://bugs.mageia.org/16074
Comment 7 Thierry Vignaud 2015-06-03 18:14:46 CEST
Closing

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 8 claire robinson 2015-06-03 18:16:38 CEST
Mga4 is also affected Thierry

Status: RESOLVED => REOPENED
Resolution: FIXED => (none)

Comment 9 Thierry Vignaud 2015-06-03 19:49:41 CEST
And I'll cherry pick the fix but the bug is closed

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED

Comment 10 Mageia Robot 2015-06-03 19:52:25 CEST
commit 480be722cbbce713c93341492ac94211f6165c9e
Author: Thierry Vignaud <thierry.vignaud@...>
Date:   Thu May 28 21:48:11 2015 -0400

    fix moving fonts (mga#16074)
    
    bug introduced in commit fa7f54e968cebad63914465a603aa65eef9af1be
    
    also do not create files in / (mga#10501, mga#15996)
---
 Commit Link:
   http://gitweb.mageia.org/software/drakx/commit/?id=480be722cbbce713c93341492ac94211f6165c9e

 Bug links:
   Mageia
      https://bugs.mageia.org/10501
      https://bugs.mageia.org/15996
      https://bugs.mageia.org/16074

Note You need to log in before you can comment on or make changes to this bug.