Excuse me, I won't spam the discussion anymore :)
This is my last version of the workaround, this fixes both this bug and bug
#813373
The font developer team could fix the font hard-coded 'family', 'style'
and 'weight' properties easily to fix those bugs.
** Attachment added: place this file in
Ok, now this configuration works for 'Medium Italic' too (it was easier than I
thought).
Probably this is not a full range solution, but it surely fixed the problem
in my case.
This bug is still present in Ubuntu or Saucy adopted the patches in this thread
to fix it?
In Debian it's still
I'm using Ubuntu font family in Debian Sid (Xfce) and I still get this bug when
using VLC (that uses Qt).
I'm not a developer, nor a programmer, but after reading the whole report and
found where the bug lies, I've managed to fix it copying the method used for
the Delicious font in
** Changed in: fontconfig
Status: In Progress = Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
** Changed in: fontconfig
Status: Confirmed = In Progress
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data
Bug 972279 Konsole displays bold text with normal weight might be
related to this.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
Just following up on comment 42, I assume the equivalent to be done in
LibreOffice at convertWeight() in fontmanager.cxx:
Hold on, what I wrote above is for LibreOffice 3.7+/master, 3.6 still
guesses font weights from the strings in the GlobalFontInfo struct:
Also note that any nontrivial patch there will affect all fonts in
rendered documents opening us to a lot of havoc, if our vendor patch
makes documents being rendered different (different font weight might
change pagebreaks, thus numbers of pages, manual (hardcoded) references
to pages or images
There is a workaround in the font in quantal now (bug 1054204) that
enables Ubuntu Medium font, but it is not the original intent of the
font. The bugs have been workarounded in other fonts well, but the real
bugs in fontconfig and libreoffice should also get fixed, so that the
original
** Tags removed: kubuntu
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and too bold in
** Bug watch added: freedesktop.org Bugzilla #38737
https://bugs.freedesktop.org/show_bug.cgi?id=38737
** Also affects: fontconfig via
https://bugs.freedesktop.org/show_bug.cgi?id=38737
Importance: Unknown
Status: Unknown
** Also affects: fontconfig (Ubuntu)
Importance:
Launchpad has imported 9 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=38737.
If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
** No longer affects: fontconfig (Ubuntu Quantal)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and
** No longer affects: fontconfig (Ubuntu)
** No longer affects: fontconfig (Ubuntu Natty)
** No longer affects: fontconfig (Ubuntu Oneiric)
** No longer affects: fontconfig (Ubuntu Precise)
** Changed in: fontconfig (Ubuntu Quantal)
Status: Confirmed = Invalid
--
You received this bug
** Tags removed: rls-mgr-p-tracking
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and
This bug was fixed in the package qt4-x11 - 4:4.8.3+dfsg-0ubuntu3
---
qt4-x11 (4:4.8.3+dfsg-0ubuntu3) quantal-proposed; urgency=low
[ Iain Lane ]
* On armel and armhf, build with -gstabs instead of -g in an effort to get
the link step for QtWebkit to complete before timed out
** Branch linked: lp:~ken-vandine/kubuntu-packaging/qt
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
** Changed in: qt4-x11 (Ubuntu Quantal)
Assignee: Ken VanDine (ken-vandine) = (unassigned)
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to qt4-x11 in Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on
For those following along, Saviq has raised this with #kubuntu-devel:
http://irclogs.ubuntu.com/2012/09/24/%23kubuntu-devel.html#t20:05
and I've tried to raise it with the original backend authors (Lars Knoll
and Jiang Jiang) over on Freenode #qt-labs.
It would be really good to get feedback.
I've also now put it up for review in Qt:
https://codereview.qt-project.org/#change,35591
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
Tested qt from Saviqs ppa and looks good. See attached screenshots.
Showing Mumble, VLC and U1 client.
** Attachment added: Screenshot from 2012-09-25 14:27:43.png
Previous screenshot was before. This one is after.
** Attachment added: Screenshot from 2012-09-25 14:32:05.png
https://bugs.launchpad.net/ubuntu-font-family/+bug/744812/+attachment/3341683/+files/Screenshot%20from%202012-09-25%2014%3A32%3A05.png
--
You received this bug notification
** Also affects: qt4-x11 (Ubuntu)
Importance: Undecided
Status: New
** Changed in: qt4-x11 (Ubuntu Natty)
Status: New = Invalid
** Changed in: qt4-x11 (Ubuntu Oneiric)
Status: New = Invalid
** Changed in: qt4-x11 (Ubuntu Precise)
Status: New = Invalid
** Changed
I've built patched packages in ppa:saviq/testing, you can first:
$ sudo apt-get install ttf-ubuntu-font-family
to get the Medium fonts back, and see how that affects Qt apps.
Then, upgrade Qt with packages from my ppa:
$ sudo apt-get upgrade
And the results:
QML
pre:
And here's the patch.
** Patch added: fix_medium_font.diff
https://bugs.launchpad.net/ubuntu-font-family/+bug/744812/+attachment/3335804/+files/fix_medium_font.diff
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I managed to track down the culprit:
http://qt.gitorious.org/qt/qt/blobs/4.8/src/gui/text/qfontdatabase_x11.cpp#line729
The problem is that Qt only supports 5 weights:
http://qt.gitorious.org/qt/qt/blobs/4.8/src/gui/text/qfont.h#line103
Light = 25,
Normal= 50,
DemiBold
Here's a related Qt bug: https://bugreports.qt-
project.org/browse/QTBUG-25814
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data
And here's one I've filed: https://bugreports.qt-
project.org/browse/QTBUG-27301
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
Thanks for investigating this!
The problem is that Qt only supports 5 weights:
http://qt.gitorious.org/qt/qt/blobs/4.8/src/gui/text/qfont.h#line103
Light = 25,
Normal = 50,
DemiBold = 63,
Bold = 75,
Black = 87
Apparently these are just integers. Maybe it's
Saviq: thanks for finding the Qt part. Things that may be useful in
reaching a decision: Truetype defines a weight scale; which is
{100,200,300,400,500,600,700,800,900}; (plus other flags); these can be
seen with:
(cd /usr/share/fonts/truetype/ubuntu-font-family/; for i in *.ttf ; do
echo -ne
Proposed patch for discussion; this shifts the buckets to avoid ABI/API
break. Saviq would you be able to test this and see what happens?
** Patch added: src_gui_text_qfontdatabase_x11.cpp.diff
** Tags added: patch
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and too bold in Qt apps)
To
(Chatting to Saviq in IRC). We've tracked down some more aggravating
factors. Main one being the Qt requests Medium by default(!) (in spite
of having no internal Enum/handling for Medium).
Somewhat larger patch idea (blind, since I haven't rebuilt Qt), with
substantially more comments. This
The above patch alone does not help as the database isn't used directly.
Instead, requests are forwarded to Fontconfig, which is a good thing.
It then maps Qt weights back to FC weights:
http://qt.gitorious.org/qt/qt/blobs/4.8/src/gui/text/qfontdatabase_x11.cpp#line1489
And the mapping looks as
We've made some progress with three possible versions of the patch:
QML:
unpatched: http://ubuntuone.com/7a8TfmDRaYUaRYWZUtRmuW
medium:http://ubuntuone.com/0sZZPdbwYeG9iSIcvMZtSe
medium+demibold/2: http://ubuntuone.com/1Iurc6svseVNZ31sTEjs81
demibold:
Found the issue - for medium+demibold/2 it comes back with embolden:
true, which seems to be broken for the Exo font.
New pre/post:
QML
http://ubuntuone.com/7eicHCbFn6PkshRN23jXjA vs.
http://ubuntuone.com/62PiHljh4W0NNZEnuxFWEy
Qt GUI
http://ubuntuone.com/1dJKerWBZeeS9tkLf1SOOf vs.
You guys rock. Thank you for chasing this!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and too
with the latest update all the fonts in quantal kde are bold.. is this
going to be fixed?
temporary workaround:
sudo rm /usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-M.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-MI.ttf
--
You received this bug notification because you are a
Have added tasks to track getting this fixed in quantal when the medium
fonts land. See comment #39.
** Changed in: ubuntu-font-family-sources (Ubuntu)
Status: Fix Released = Triaged
** Changed in: ubuntu-font-family-sources (Ubuntu)
Milestone: ubuntu-12.04 = ubuntu-12.10
** Also
In Quantal, ubuntu-font-family-sources *will* ship the Medium version of
the font (see http://pad.lv/1048600). Can anybody please re-open the
ubuntu-font-family-sources task and nominate/target all tasks to
quantal?
--
You received this bug notification because you are a member of Ubuntu
Bugs,
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: fontconfig (Ubuntu)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: fontconfig (Ubuntu Oneiric)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: fontconfig (Ubuntu Natty)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: fontconfig (Ubuntu Precise)
Status: New = Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
** Also affects: fontconfig (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
This bug maybe related:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/974506
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
This bug was fixed in the package ubuntu-font-family-sources -
0.80-0ubuntu2
---
ubuntu-font-family-sources (0.80-0ubuntu2) precise; urgency=low
* Don't ship Ubuntu Medium (Ubuntu Light Bold) because
of issues with the font/toolkit stacks on Ubuntu not working.
Workaround
The fix works great
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and too bold in Qt apps)
To
** Changed in: ubuntu-font-family-sources (Ubuntu Precise)
Milestone: ubuntu-12.04-beta-2 = ubuntu-12.04
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on
If using kubuntu 12.04, I recommend in the meantime to use package from
oneiric and hold it to avoid updates
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on
** Tags added: rls-mgr-p-tracking
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape and too bold in Qt
** Branch linked: lp:~fboucault/ubuntu/precise/ubuntu-font-family-
sources/no_medium_font
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
This is still present in Kubuntu 12.04 beta1.
My font configuration: Use anti-aliasing, Use sub-pixel rendering: RGB,
hinting style: medium.
Precise screenshot (look at empty space between de and fault in default
word for example): http://www.dodaj.rs/f/2V/QX/3vBP6BH9/snapshot1.png
Oneiric
I believe the appearance is already greatly improved in Kubuntu 12.04
Beta-1.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data
This bug is still present in Kubuntu 12.04.
All Qt4 apps uses a bold font-weight instead of Regular one.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on
removing these:
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-B.ttf
/usr/share/fonts/truetype/ubuntu-font-family/Ubuntu-BI.ttf
temporary fixes the issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
Lucazade: it's not really practical to remove bold as it's used widely.
Is it also solved if /instead/ you remove either just the Lights (-L*)
or the Mediums (-M*).
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
I filed this as a new bug some time ago: bug 918577.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape
@mardy
seen your report..
@sladen
I know it is not ideal, we need a better and proper fix for this..
While I was playing with fonts I noticed also that plasma panel and menu don't
follow hinting at all.. fonts are really pixelated.
--
You received this bug notification because you are a
** Also affects: ubuntu-font-family-sources (Ubuntu Precise)
Importance: High
Status: Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on
** Changed in: ubuntu-font-family-sources (Ubuntu Precise)
Status: Fix Released = Fix Committed
** Changed in: ubuntu-font-family-sources (Ubuntu Precise)
Status: Fix Committed = Confirmed
** Changed in: ubuntu-font-family-sources (Ubuntu Precise)
Milestone: ubuntu-11.04-beta-2
This bug was fixed in the package ubuntu-font-family-sources -
0.71.2-0ubuntu7
---
ubuntu-font-family-sources (0.71.2-0ubuntu7) oneiric; urgency=low
* Don't ship Ubuntu Medium (Ubuntu Light Bold) because
of issues with the font/toolkit stacks on Ubuntu not working.
** Branch linked: lp:ubuntu/ubuntu-font-family-sources
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape
** Also affects: ubuntu-font-family-sources (Ubuntu Natty)
Importance: Undecided
Status: New
** Also affects: ubuntu-font-family-sources (Ubuntu Oneiric)
Importance: High
Status: Fix Released
** Changed in: ubuntu-font-family-sources (Ubuntu Natty)
Status: New = Fix
It used to work well (I’m specifically referring to the symptom of Qt
applications defaulting to the medium style, quite visible when running
unity-2d), but with today’s update it broke again. I upgraded ttf-
ubuntu-font-family from 0.71.2-0ubuntu3+phasedbeta1~natty to
osomon: for Ubuntu 11.04 we couldn't find a solution, so the workaround
was to drop 'Medium' and 'Medium Italic' (just) from the Ubuntu 11.04
release. The complete font family is there on http://font.ubuntu.com/
in the Oneiric archive, beta PPA and internal Canonical walled-garden
PPA. Owing to
Equivalent bug for the LinuxLibertine multi-weight typeface:
(Not all Libertine 5.0 fonts usable under Linux - ID: 3307966)
http://sourceforge.net/tracker/?func=detailaid=3307966group_id=89513atid=590374
again, not actually a bug in the fonts, but in the Linux font stack.
** Bug watch
** Also affects: linuxlibertine via
http://sourceforge.net/support/tracker.php?aid=3307966
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
This bug was fixed in the package ubuntu-font-family-sources -
0.71.2-0ubuntu2
---
ubuntu-font-family-sources (0.71.2-0ubuntu2) natty; urgency=low
* Don't ship Ubuntu Medium (Ubuntu Light Bold) because
of issues with the font/toolkit stacks on Ubuntu not working.
Workaround
** Branch linked: lp:ubuntu/ubuntu-font-family-sources
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
in Inkscape
This does not really solve the issue (in ttf-ubuntu-font-
family_0.71.2-0ubuntu3_all.deb). In LibreOffice I can still make the
Ubuntu Light font bold - and the result is ugly. Kerning seems not to
work at all so that Ubuntu Light Bold becomes even wider than Ubuntu
Bold.
Attaching PDF with the
The issue is no more present in Unity2D Qt indicator appmenu. thanks
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font meta-data (No medium
Ah. I guess, in the absence of a declared bold, you get an
auto-manufactured one, which would indeed be ugly.
Do we have any deeper understanding of the fixes needed in various
stacks to make the proper fonts work properly?
--
You received this bug notification because you are a member of
It's a misunderstanding to see this as a QT stack problem. The same
issue is present under GNOME. It's pure coincidence that the other bugs
were made a duplicate of this one.
I am using GNOME, the examples that I posted in my original bug report
were also from GNOME. I don't think this has very
Erdal: I think this bug report (and the dups) note that the root-cause
in the lower levels. The mentioning of Qt in the title is mainly
there to increase the chance of people finding it.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to
No, there are two different bugs.
In one bug, when we have Medium encoded as Light Bold, Qt gets
confused and uses that when it should not.
In a second bug, what you are seeing now, when we take the medium out
of Ubuntu Light, the systems try to auto-create a bold. And that is
what you're
Synthesis would occur twice as often if we presented both fonts
individually to the user and they chose to embolden them anyway:
Ubuntu Light - [click bold] - Synthesised Ubuntu Light Bold
Ubuntu Medium - [click bold] - Synthesised Ubuntu Medium Bold
--
You received this bug notification
** Tags added: kubuntu
** Changed in: ubuntu-font-family-sources (Ubuntu)
Milestone: None = ubuntu-11.04-beta-2
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack
** Changed in: ubuntu-font-family-sources (Ubuntu)
Importance: Undecided = High
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke on Ubuntu Medium font
Mark: to clarify; drop this == drop the individual Medium .ttfs that
are currently knocking the barrel over ?
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/744812
Title:
FontConfig/Qt stack choke
On 07/04/11 18:00, Paul Sladen wrote:
Mark: to clarify; drop this == drop the individual Medium .ttfs that
are currently knocking the barrel over ?
Yes. Perhaps we can keep Light without the Medium (Light Bold) weight?
Mark
--
You received this bug notification because you are a member of
82 matches
Mail list logo