Bug 58164 - CONFIGURATION: Having multiple <family> in <alias> isn't supported and may not works as expected
Summary: CONFIGURATION: Having multiple <family> in <alias> isn't supported and may no...
Status: RESOLVED WORKSFORME
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.0.beta1
Hardware: Other Linux (All)
: low normal
Assignee: Not Assigned
URL:
Whiteboard: BSA
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-11 23:45 UTC by Jose Gómez
Modified: 2013-01-31 00:19 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Fix for the problem (311 bytes, patch)
2013-01-30 09:18 UTC, sworddragon2
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jose Gómez 2012-12-11 23:45:55 UTC
Problem description: 

When starting the Writer from a command-line, I see the following warning:

Fontconfig warning: "/opt/lodev4.0/share/fonts/truetype/fc_local.conf", line 13: Having multiple <family> in <alias> isn't supported and may not works as expected

Furthermore, the error message is not correct "may not works" instead of "may not work".

Steps to reproduce:
1. Execute swriter from the command line

Current behavior:

  Warning in the console.

Expected behavior:

  No warning in the console.
Operating System: Ubuntu
Comment 1 ljelly 2012-12-14 03:08:30 UTC
occurs in ubuntu raring 13,04 

cannot start libreoffice because of the error means its unusable to test.

Build Info
tinderbox: administrator: fridrich.strba@bluewin.ch
tinderbox: buildname: Linux-x86_64_11-Release-Configuration
tinderbox: tree: MASTER
tinderbox: pull time 2012-12-09 22:33:10
tinderbox: git sha1s
core:fbfda39d26da6747edb3a4c6d593be7e6b2b0f1d

this also occurs in 4,0 builds.
Comment 2 ljelly 2012-12-14 03:09:59 UTC
(In reply to comment #1)
> occurs in ubuntu raring 13,04 
> 
> cannot start libreoffice because of the error means its unusable to test.
> 
> Build Info
> tinderbox: administrator: fridrich.strba@bluewin.ch
> tinderbox: buildname: Linux-x86_64_11-Release-Configuration
> tinderbox: tree: MASTER
> tinderbox: pull time 2012-12-09 22:33:10
> tinderbox: git sha1s
> core:fbfda39d26da6747edb3a4c6d593be7e6b2b0f1d
> 
> this also occurs in 4,0 builds.

even used clean daily build of ubuntu from 15/12/12. still a problem.
Comment 3 Sabri Unal 2012-12-17 00:47:15 UTC
Ver:
4.0.0.0.beta1+ 
(Build No: 2988f4bbc9c381e91a372a6aad5d0334d713438)
TinderBox: Linux-x86_64_11-Release-Configuration,
Branch:libreoffice-4-0,
Time: 2012-12-15_21:51:30

I'm testing on Daily Build and same warning

/opt/lodev4.0/program/soffice --calc
Fontconfig warning: "/opt/lodev4.0/share/fonts/truetype/fc_local.conf", line 13: Having multiple <family> in <alias> isn't supported and may not works as expected

my .../fc_local.conf is hear



<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "/etc/fonts/conf.d/fonts.dtd">
<fontconfig>

	<!-- Alias similar/metric-compatible families from various sources: -->

	<alias binding="same">
	  <family>Liberation Sans Narrow</family>
	  <family>Arial Narrow</family>
	  <default>
	  <family>Arial Narrow</family>
	  </default>
	</alias>

<!-- -->
	<alias binding="same">
	  <family>Arial Narrow</family>
	  <accept>
	  <family>Liberation Sans Narrow</family>
	  </accept>
	</alias>
<!-- -->

</fontconfig>

thenks.
Comment 4 sworddragon2 2013-01-30 09:18:10 UTC
Created attachment 73913 [details]
Fix for the problem

In this attachment is a patch that should fix the problem. But I'm not a fontconfig expert, so take care (maybe there is a better way to fix this problem).
Comment 5 ljelly 2013-01-31 00:19:24 UTC
resolved in ubuntu raring 13,04 
without attached patch installed.
Problem was fixed with this version of LibreOffice daily build.

Build Info
tinderbox: administrator: fridrich.strba@bluewin.ch
tinderbox: buildname: Linux-x86_64_11-Release-Configuration
tinderbox: tree: libreoffice-4-0
tinderbox: pull time 2013-01-30 08:12:00
tinderbox: git sha1s
core:3353687fb4af77de2a5a901d58b940367162f741