Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xeffects: Cairo 1.4.12 newspr patch
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
Emopig
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 188

PostPosted: Fri Nov 30, 2007 1:34 pm    Post subject: Xeffects: Cairo 1.4.12 newspr patch Reply with quote

Hey all,

Cairo 1.4.12 in ~arch breaks "newspr" font rendering for those using the Xeffects
overlay. I've ported the patch accordingly since it's not yet in the overlay.

Cairo patch: http://pastebin.com/m3974114d
Patch against the 1.4.8 patch (patch of a patch!): http://pastebin.com/m12c6383b

Download links are at the top of the pastebin post. I've tested it and it's been working
for the last 5 minutes.

Code:
andrew@ziggy ~/Desktop $ diffstat cairo-1.4.8-newspr.patch
 cairo-ft-font.c |  584 ++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 399 insertions(+), 185 deletions(-)
andrew@ziggy ~/Desktop $ diffstat cairo-1.4.12-newspr.patch
 cairo-ft-font.c |  595 ++++++++++++++++++++++++++++++++++++++------------------
 1 file changed, 405 insertions(+), 190 deletions(-)

_________________
2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM
Back to top
View user's profile Send private message
octoploid
n00b
n00b


Joined: 21 Oct 2006
Posts: 65

PostPosted: Fri Nov 30, 2007 1:49 pm    Post subject: Reply with quote

Many thanks.

I don't understand why they don't merge these patches upstream.
Cairo looks awful without them.
_________________
Myself and mine gymnastic ever
Back to top
View user's profile Send private message
Emopig
Apprentice
Apprentice


Joined: 15 Mar 2006
Posts: 188

PostPosted: Fri Nov 30, 2007 2:12 pm    Post subject: Reply with quote

Because Microsoft decided to patent every single algorithm known to man, chimp and crocodile.
_________________
2.6.35 / Gnome 2.30
Athlon64 3500+ / 1.5 GB / Asus A8N VM CSM
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sat Dec 01, 2007 12:53 am    Post subject: Reply with quote

would you mind trying the same thing for cairo-1.5.2, i've tried and failed miserably.
thanks in advance if you're willing to have a go.
Back to top
View user's profile Send private message
estar
n00b
n00b


Joined: 01 Dec 2007
Posts: 20

PostPosted: Sat Dec 01, 2007 9:23 am    Post subject: Reply with quote

Here’s a tentative patch for cairo 1.5.2. On one hand, it does look nicer than the unpatched version, but on the other hand, I’m seeing some rendering errors with it. Like the OP I’ve only tested it under light conditions for a few minutes, so beware.
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Sat Dec 01, 2007 11:20 am    Post subject: Reply with quote

thanks a lot!
ill try it and see if i have the same rendering problems, and if so try to debug a little bit. (which i guess will be as ineffectual as my trying to do so before)
Back to top
View user's profile Send private message
vonr
Guru
Guru


Joined: 23 Mar 2006
Posts: 300

PostPosted: Sat Dec 01, 2007 5:22 pm    Post subject: Reply with quote

The guys over at PLD Linux are maintaining the subpixel patches for cairo and libxft. See here.

No need to hack up your own.
Back to top
View user's profile Send private message
estar
n00b
n00b


Joined: 01 Dec 2007
Posts: 20

PostPosted: Sat Dec 01, 2007 6:06 pm    Post subject: Reply with quote

Unfortunately their 1.4.12 patch doesn’t apply to 1.5.2 (which seems to be necessary for Firefox 3). By the way, fixed my stupid mistake that caused rendering errors, corrected patch. So far it works.
Back to top
View user's profile Send private message
estar
n00b
n00b


Joined: 01 Dec 2007
Posts: 20

PostPosted: Thu Dec 06, 2007 9:39 pm    Post subject: Reply with quote

The same patch seems to work for 1.5.4, too.
Back to top
View user's profile Send private message
lenk
Apprentice
Apprentice


Joined: 08 Mar 2004
Posts: 211

PostPosted: Fri Dec 07, 2007 1:02 pm    Post subject: Reply with quote

Is xeffect overlay dead? The maintainers don't seem to be updating anything as of late. Maybe they just got lazy and ran out of steam.
_________________
E6300 Gigabyte GA-965P-DS3 2GB Corsair 320GB Seagate 7200.10 XFX 7600GT Gentoo
Dell M1330 T7500 2GB 160GB 13.3" WXGA Gentoo
Sharp Zaurus SL-C760 Cacko ROM 1.21b / pdaXrom 1.10rc5 512MB CF + 512MB SD
Sun Ultra5 Gentoo
Back to top
View user's profile Send private message
laughinggnome
n00b
n00b


Joined: 07 Mar 2006
Posts: 45

PostPosted: Fri Dec 07, 2007 8:19 pm    Post subject: Reply with quote

estar wrote:
Unfortunately their 1.4.12 patch doesn’t apply to 1.5.2 (which seems to be necessary for Firefox 3). By the way, fixed my stupid mistake that caused rendering errors, corrected patch. So far it works.


To get it to work, I had to add @@ to lines such as:

Code:
-55,6 +55,8 @@


so they became:

Code:
@@ -55,6 +55,8 @@


Pastbin must have stolen them!

Cheers for the patch.
Back to top
View user's profile Send private message
estar
n00b
n00b


Joined: 01 Dec 2007
Posts: 20

PostPosted: Fri Dec 07, 2007 8:52 pm    Post subject: Reply with quote

Argh! Important safety note: pastebin.com regards leading @@ in a line as some sort of highlighting markup, even if the highlighting style is set to ‘patch’. New copy on another site, raw text.
Back to top
View user's profile Send private message
creidiki
Apprentice
Apprentice


Joined: 23 Mar 2007
Posts: 283
Location: Varese (Italy)

PostPosted: Sat Dec 15, 2007 8:58 pm    Post subject: Reply with quote

Thanks for the patches... I wish these were on xeffects or some other overlay...
_________________
'((eINIT) (soor overlay))
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Fri Jan 18, 2008 5:02 pm    Post subject: Reply with quote

creidiki wrote:
Thanks for the patches... I wish these were on xeffects or some other overlay...


Has anybody some information about xeffects current/future status? Do licencing issues cause a stagnation?
Back to top
View user's profile Send private message
estar
n00b
n00b


Joined: 01 Dec 2007
Posts: 20

PostPosted: Fri Jan 18, 2008 6:47 pm    Post subject: Reply with quote

The patch I posted above still works for cairo 1.5.6.
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Fri Jan 18, 2008 7:03 pm    Post subject: Reply with quote

estar wrote:
The patch I posted above still works for cairo 1.5.6.

Thanks, I applied it, it works!
At any case - what is xeffects status? :)
Back to top
View user's profile Send private message
bosele
Tux's lil' helper
Tux's lil' helper


Joined: 02 Apr 2005
Posts: 90

PostPosted: Fri Jan 18, 2008 10:23 pm    Post subject: Reply with quote

xeffects is gone, there is a new overlay maintained by boniek devoted to newspr files only:
https://forums.gentoo.org/viewtopic-t-511382-start-350.html

edit: just stable versions at the moment
Back to top
View user's profile Send private message
anli
Tux's lil' helper
Tux's lil' helper


Joined: 08 Sep 2006
Posts: 80

PostPosted: Fri Jan 18, 2008 10:59 pm    Post subject: Reply with quote

bosele wrote:
xeffects is gone, there is a new overlay maintained by boniek devoted to newspr files only:
https://forums.gentoo.org/viewtopic-t-511382-start-350.html

edit: just stable versions at the moment


Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum