View previous topic :: View next topic |
Author |
Message |
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu May 03, 2012 4:13 am Post subject: |
|
|
EatMeerkats wrote: | there is no "correct order" due to the way Portage works. |
Don't be so trusting. People can and do screw up compilations in every way possible. A recompilation won't hurt, and might fix the problem.
As a simple example, if a big patch is added to freetype, then "emerge cairo" is run, Portage won't know that freetype should be recompiled first. |
|
Back to top |
|
|
mbar Veteran
Joined: 19 Jan 2005 Posts: 1990 Location: Poland
|
Posted: Thu May 03, 2012 6:10 am Post subject: |
|
|
^marcs wrote: | Anyone else have have some fonts messed up in firefox after recent update?
|
Use eselect fontconfig, as some conf files were changed. |
|
Back to top |
|
|
^marcs Apprentice
Joined: 09 Mar 2005 Posts: 169
|
Posted: Thu May 03, 2012 10:20 am Post subject: |
|
|
I have reseted whole fontconfig configuration and applied again as described in wiki, also tried rebuilding firefox, no effect.
*edit*
Ive downgraded fontconfig-2.9.0 to fontconfig-2.8.0-r2 and it helped. |
|
Back to top |
|
|
EatMeerkats Apprentice
Joined: 15 Mar 2006 Posts: 234
|
Posted: Thu May 03, 2012 12:18 pm Post subject: |
|
|
PaulBredbury wrote: | As a simple example, if a big patch is added to freetype, then "emerge cairo" is run, Portage won't know that freetype should be recompiled first. |
Then the patch should be controlled by a USE flag or the version of freetype should be bumped to -r1 or something… either way, cairo's dependencies should require either the USE flag or new version if necessary. Since bi3l's ebuilds require the proper "lcdfilter" USE flags, everything will be built in the correct order. |
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Sat May 05, 2012 1:18 pm Post subject: |
|
|
^marcs wrote: |
*edit*
Ive downgraded fontconfig-2.9.0 to fontconfig-2.8.0-r2 and it helped. |
Same solution here. |
|
Back to top |
|
|
swimmer Veteran
Joined: 15 Jul 2002 Posts: 1330 Location: Netherlands
|
Posted: Sat May 05, 2012 1:37 pm Post subject: |
|
|
^marcs wrote: | I have reseted whole fontconfig configuration and applied again as described in wiki, also tried rebuilding firefox, no effect.
*edit*
Ive downgraded fontconfig-2.9.0 to fontconfig-2.8.0-r2 and it helped. |
You saw and tried the new 11-lcdfilter-* rules in fontconfig did you?
HTH
swimmer |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sat May 05, 2012 2:10 pm Post subject: |
|
|
^marcs wrote: | fonts messed up in firefox after recent update?
...
[ebuild R ] x11-libs/cairo-1.10.2-r2::lcd-filtering USE="X glib lcdfilter opengl svg xcb (-aqua) -cleartype -debug -directfb -doc (-drm) (-gallium) (-openvg) (-qt4) -static-libs" 23,007 kB |
Try without the opengl USE flag. cairo 1.12.2's configure contains:
Quote: | "'--- The OpenGL surface backend feature is still under active development and
--- is included in this release only as a preview. It does NOT fully work yet
--- and incompatible changes may yet be made to OpenGL surface backend
--- specific API.' |
Anyway, fontconfig 2.9.0 works fine for me, with cairo 1.12.2 and the firefox 12.0 patch I mentioned earlier in this thread.
I compile cairo with:
Code: | --disable-static --disable-xlib-xcb --enable-tee --with-x |
|
|
Back to top |
|
|
jcTux Apprentice
Joined: 29 Dec 2009 Posts: 276 Location: Tours, France
|
Posted: Sat May 05, 2012 5:45 pm Post subject: |
|
|
swimmer wrote: | ^marcs wrote: | I have reseted whole fontconfig configuration and applied again as described in wiki, also tried rebuilding firefox, no effect.
*edit*
Ive downgraded fontconfig-2.9.0 to fontconfig-2.8.0-r2 and it helped. |
You saw and tried the new 11-lcdfilter-* rules in fontconfig did you?
HTH
swimmer |
You're wright.
11-lcdfilter-* was not activated. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun May 06, 2012 4:01 am Post subject: |
|
|
jcTux wrote: | 11-lcdfilter-* was not activated. |
Er, what magic do you think it/they contain, that isn't already in Infinality's fontconfig file? |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Sun May 06, 2012 4:38 am Post subject: |
|
|
PaulBredbury wrote: | jcTux wrote: | 11-lcdfilter-* was not activated. |
Er, what magic do you think it/they contain, that isn't already in Infinality's fontconfig file? | Without this enabled you get broken fonts as mentioned earlier in the page. If you follow these instructions then you will be stuck unless you notice that some of the filenames have changed. _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Mon May 07, 2012 6:40 am Post subject: |
|
|
ppurka wrote: | If you follow these instructions then you will be stuck unless you notice that some of the filenames have changed. |
Fixed. _________________ OGMRip - LCD filtering (Wiki) |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Mon May 07, 2012 9:21 am Post subject: |
|
|
bi3l wrote: | ppurka wrote: | If you follow these instructions then you will be stuck unless you notice that some of the filenames have changed. |
Fixed. | Thanks _________________ emerge --quiet redefined | E17 vids: I, II | Now using kde5 | e is unstable :-/ |
|
Back to top |
|
|
angry_vincent n00b
Joined: 21 Feb 2010 Posts: 30
|
Posted: Wed Jun 06, 2012 2:36 am Post subject: |
|
|
all ebuilds in lcd-filtering overlay should switch to virtual/pkgconfig dep instead of dev-util/pkgconfig, all ebuilds in gentoo tree migrated. _________________ http://www.funtoo.org |
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
Posted: Wed Jun 06, 2012 5:41 am Post subject: |
|
|
angry_vincent wrote: | all ebuilds in lcd-filtering overlay should switch to virtual/pkgconfig dep instead of dev-util/pkgconfig, all ebuilds in gentoo tree migrated. |
Done. _________________ OGMRip - LCD filtering (Wiki) |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Sun Jun 17, 2012 1:26 am Post subject: |
|
|
Infinality has a new version out |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Sun Jun 17, 2012 7:01 am Post subject: |
|
|
Can someone enlighten me on the differences between the lcd-filtering overlay and MeisterP's infinality overlay? What would be reasons to choose one over the other?
Also, I'd like to see if it is feasible to get these patches into the official portage tree. Is anyone willing to work with me to maintain these? _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
poncho Tux's lil' helper
Joined: 06 Mar 2011 Posts: 92
|
Posted: Sun Jun 17, 2012 9:46 am Post subject: |
|
|
yngwin wrote: | Can someone enlighten me on the differences between the lcd-filtering overlay and MeisterP's infinality overlay? What would be reasons to choose one over the other?
Also, I'd like to see if it is feasible to get these patches into the official portage tree. Is anyone willing to work with me to maintain these? |
The lcd-filtering overlay is patching media-libs/fontconfig and some fonts packages to apply the various infinality font settings. I (poncho aka MeisterP) made a media-libs/fontconfig-infinality package to install all configuration files into /etc/fonts/infinality/ and use an unpatched media-libs/fontconfig.
The reason for doing this was to follow infinality's rpm packages more closely and to have a live ebuild for https://github.com/Infinality/fontconfig-infinality.
If we want to have a fontconfig-infinality package in the tree, it would be worthwhile to replace the infctl tool (which manages symlinks in /etc/fonts/infinality/) with a proper eselect module.
If there are more questions concerning my overlay feel free to ask. And yes, I would be willing to (proxy?)maintain the packages with you. |
|
Back to top |
|
|
PaulBredbury Watchman
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Wed Jun 20, 2012 5:44 pm Post subject: |
|
|
yngwin wrote: | get these patches into the official portage tree. |
There'll be one less patch file required in future |
|
Back to top |
|
|
yngwin Retired Dev
Joined: 19 Dec 2002 Posts: 4572 Location: Suzhou, China
|
Posted: Thu Jun 21, 2012 9:12 am Post subject: |
|
|
It's very good to see that he's working with the Freetype devs to get his patches in. Less work for us, indeed!
poncho wrote: | I (poncho aka MeisterP) made a media-libs/fontconfig-infinality package to install all configuration files into /etc/fonts/infinality/ and use an unpatched media-libs/fontconfig.
The reason for doing this was to follow infinality's rpm packages more closely and to have a live ebuild for https://github.com/Infinality/fontconfig-infinality.
If we want to have a fontconfig-infinality package in the tree, it would be worthwhile to replace the infctl tool (which manages symlinks in /etc/fonts/infinality/) with a proper eselect module. |
This sounds like a reasonable approach to get this into portage. I will look at it in more detail over the coming days (quite busy with work atm), and see if I can convince the freetype and cairo maintainers to work with us. _________________ "Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF |
|
Back to top |
|
|
alexcortes Apprentice
Joined: 18 Dec 2011 Posts: 205 Location: Rio de Janeiro, Brazil
|
|
Back to top |
|
|
bi3l Apprentice
Joined: 06 Feb 2003 Posts: 268 Location: France
|
|
Back to top |
|
|
alexcortes Apprentice
Joined: 18 Dec 2011 Posts: 205 Location: Rio de Janeiro, Brazil
|
Posted: Sun Jun 24, 2012 6:21 pm Post subject: |
|
|
Really thanks! |
|
Back to top |
|
|
omidxo n00b
Joined: 23 Feb 2005 Posts: 71
|
|
Back to top |
|
|
IvanMajhen Guru
Joined: 10 Jun 2006 Posts: 392 Location: Croatia
|
Posted: Wed Jun 27, 2012 3:33 pm Post subject: |
|
|
This is how it looks with default infinality freetype/fontconfig settings:
http://img442.imageshack.us/img442/1951/snimka1.png
http://img440.imageshack.us/img440/1761/snimka2m.png
Note that there are also different freetype seetings like: (freetype-2.4.10)
Code: | # Possible options:
#
# DEFAULT - Use above settings. A compromise that should please most people.
# OSX - Simulate OSX rendering
# UBUNTU - Simulate UBUNTU rendering
# LINUX - Generic "Linux" style - no snapping or certain other tweaks
# WINDOWS - Simulate Windows rendering
# WINDOWS7 - Simulate Windows rendering with normal glyphs
# WINDOWS7LIGHT- Simulate Windows 7 rendering with lighter glyphs
# WINDOWS - Simulate Windows rendering
# VANILLA - Just subpixel hinting
# CUSTOM - Your own choice. See below
# ----- Infinality styles -----
# CLASSIC - Infinality rendering circa 2010. No snapping.
# NUDGE - CLASSIC with lightly stem snapping and tweaks
# PUSH - CLASSIC with medium stem snapping and tweaks
# SHOVE - Full stem snapping and tweaks without sharpening
# SHARPENED - Full stem snapping, tweaks, and Windows-style sharpening
# INFINALITY - Settings I use
# DISABLED - Act as though running without the extra infinality enhancements (just subpixel hinting). |
and fontconfig settings:
Code: | acer infinality# ./infctl.sh setstyle
Select a style:
1) debug 3) linux 5) osx2 7) win98
2) infinality 4) osx 6) win7 8) winxp
#?
|
|
|
Back to top |
|
|
omidxo n00b
Joined: 23 Feb 2005 Posts: 71
|
Posted: Thu Jun 28, 2012 12:52 pm Post subject: |
|
|
Looks perfect! Thanks for simple direction. |
|
Back to top |
|
|
|