FS#42542 - [fontconfig][xfig] fonts problem
Attached to Project:
Arch Linux
Opened by Yannick Alméras (alfazaz) - Saturday, 25 October 2014, 08:36 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 14 March 2016, 16:07 GMT
Opened by Yannick Alméras (alfazaz) - Saturday, 25 October 2014, 08:36 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 14 March 2016, 16:07 GMT
|
Details
Description:
When we want to type text, we get wrong fonts... I think the problem appeared with latest upgrade of gsfonts package... Additional info: * package version(s) : xfig-3.2.5c-2 Steps to reproduce: * Get an up to date arch linux with xfig * Open xfig * Select Text icon * Type text and see bad fonts... |
This task depends upon
bug in fontconfig seems to be fixed in git, so or we include the patch or we wait until a new release...
xfig3.2.5c: SIGSEGV signal trapped
xfig: Figure is empty or not modified - exiting without saving.
Segmentation fault (core dumped)
http://cgit.freedesktop.org/fontconfig/commit/?id=b732bf057f4b3ec3bac539803005e9c42d056b2a
*****************
[yannick@portable fontconfig ]$ makepkg
==> Création du paquet fontconfig 2.11.1-1 (sam. avril 18 21:20:06 CEST 2015)
==> Vérification des dépendances pour l’exécution...
==> Vérification des dépendances pour la compilation...
==> Récupération des sources...
-> fontconfig-2.11.1.tar.bz2 trouvé
==> Validation des fichiers sources avec sha256sums...
fontconfig-2.11.1.tar.bz2 ... Réussite
==> Extraction des sources...
-> Extraction de fontconfig-2.11.1.tar.bz2 avec bsdtar
==> Lancement de prepare()...
patching file conf.d/30-metric-aliases.conf
Hunk #4 succeeded at 94 with fuzz 2 (offset 2 lines).
Hunk #5 succeeded at 116 (offset 3 lines).
Hunk #6 succeeded at 144 (offset 3 lines).
Hunk #7 succeeded at 172 (offset 3 lines).
Hunk #8 succeeded at 207 (offset 3 lines).
Hunk #9 succeeded at 228 (offset 3 lines).
Hunk #10 succeeded at 256 (offset 3 lines).
Hunk #11 succeeded at 467 (offset 3 lines).
Hunk #12 succeeded at 476 (offset 3 lines).
Hunk #13 FAILED at 481.
Hunk #14 succeeded at 495 (offset 6 lines).
Hunk #15 succeeded at 504 (offset 6 lines).
Hunk #16 succeeded at 514 (offset 6 lines).
Hunk #17 succeeded at 523 (offset 6 lines).
Hunk #18 succeeded at 533 (offset 6 lines).
Hunk #19 succeeded at 543 (offset 6 lines).
1 out of 19 hunks FAILED -- saving rejects to file conf.d/30-metric-aliases.conf.rej
patching file conf.d/45-latin.conf
Hunk #2 succeeded at 105 (offset 4 lines).
patching file conf.d/60-latin.conf
==> ERREUR : Une erreur s’est produite dans prepare().
Abandon...
**************************
I made what mistake ?
However, I still have the issue that fonts do not change in xfig. Could I have missed anything?
pacman -Ss xfig
extra/potrace 1.11-2 [installed]
Utility for tracing a bitmap (input: PBM,PGM,PPM,BMP; output:
EPS,PS,PDF,SVG,DXF,PGM,Gimppath,XFig)
extra/transfig 3.2.5e-1 [installed]
Format conversion utility that can be used with xfig
extra/xfig 3.2.5c-2 [installed]
An interactive drawing tool
pacman -Ss fontconfig
extra/fontconfig 2.11.1-1 [installed: 2.11.94-1]
A library for configuring and customizing font access
multilib/lib32-fontconfig 2.11.1-1 [installed]
A library for configuring and customizing font access (32-bit)
Update in March 2017: It seems the problem is related to gsfonts. It came back after some updates. However:
installing the gsfonts-type1 package from AUR and removing the gsfonts package (they are in conflict) solves the problem. You need to restart X or simply:
xset +fp /usr/share/fonts/Type1
xset fp rehash
and restart xfig.