Re: Too much antialiasing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 01 November 2002 11:33 am, mlist.redhat.psyche@urs.us wrote:
>     mf> Try building it as root. I haven't looked into much yet, but
>     mf> freetype fails to build if you are building the rpms in a
>     mf> non-root environment (It fails here at any rate on a clean
>     mf> install.).
>
> Read the following:
>
>   http://freshrpms.net/docs/fight.html

I'm well aware of the danger of building RPMS as 'root'. See:
http://www.tuxfan.homeip.net:8080/hack.html
and
http://www.tuxfan.homeip.net/hacks/rpm_environment.tar.gz
(Which was just recently updated for the fix detailed here).

I was simply trying to point out why the poster was having difficulty 
building the packages.

I've since found the reason it wouldn't build for a non root user. It 
appears one of the rpm macro files wasn't in my rpm search path. (and 
likely isn't in your's either.) The solution was to add:
/usr/lib/rpm/redhat/macros to the users macrofiles definition. 
(In ~/.rpmrc for me.)

Try this as both root and a normal user (assuming you have a non root 
build environment set up.):
$ rpm --showrc | grep gnu

If you don't see (as a mortal user):
_target_platform   %{_target_cpu}-%{_vendor}-%{_target_os}%{?_gnu}

Then you are probably missing a path in your macrofiles definition.

> I've attached the patch I made to freetype.spec.  I enabled anti-
> aliasing for ft1 and ft2, and picked up the missing files.
>
> I also noticed that I needed to set my '--target' in rpm to
>
>   i386-redhat-linux-gnu

With the macrofiles search path fixed, the only changes required are:

- --- freetype.spec.orig  2002-08-28 23:57:41.000000000 -0400
+++ freetype.spec       2002-11-02 15:54:10.000000000 -0500
@@ -1,6 +1,6 @@
 # Disables freetype 1 and 2 bytecode interpreter.  Setting to 0 enables
 # the bytecode interpreter in both freetype 1 and 2.
- -%define without_bytecode_interpreter    1
+%define without_bytecode_interpreter    0

 %define ft1 freetype-pre1.4

@@ -13,7 +13,7 @@
 Summary: A free and portable TrueType font rendering engine.
 Name: freetype
 Version: 2.1.2
- -Release: 7
+Release: 7BCI
 License: GPL
 Group: System Environment/Libraries
 URL: http://www.freetype.org
@@ -231,6 +231,7 @@
 %{_libdir}/libfreetype.la
 %{_libdir}/libfreetype.so
 %{_bindir}/freetype-config
+%{_datadir}/aclocal/freetype2.m4

 %changelog
 * Wed Aug 28 2002 Owen Taylor <otaylor@redhat.com>

The --target is magically handled by the inclusion of the correct macro 
file, as I found out. :)

> I'm not sure the results are satisfactory -- it appears to be over-
> aliasing some of the glyphs (lowercase 'k' being an example).

I tend to agree, I think I like it better with hinting turned off.

- -- 
- -Michael

pgp key:  http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE9xDxCn/07WoAb/SsRAjO1AJwOzVzOxU53fuW0XqqACUJVmTBRLACgvWUb
uJE86z5Kq+fKiR2Bjt8nwVQ=
=dU+/
-----END PGP SIGNATURE-----



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux