Enlightenment CVS committal

Author  : raster
Project : e17
Module  : libs/evas

Dir     : e17/libs/evas


Modified Files:
        README conf-e-x11.sh configure.in evas.c.in 


Log Message:


added in loading froms from memory buffers at the engine level, and now an
api to set a font "source" (blank is normal filing system) but the source can
be a device or file etc. in this case it currently supports eet files as the
source and then the font name is used as a key in th eet file as to where to
find the font - edb support would be trivial to add. :) if the font is not
found in the "source" it falls back to the font path etc.

===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/README,v
retrieving revision 1.44
retrieving revision 1.45
diff -u -3 -r1.44 -r1.45
--- README      11 Dec 2003 22:58:23 -0000      1.44
+++ README      23 Jan 2004 02:13:02 -0000      1.45
@@ -95,7 +95,7 @@
 
 make CFLAGS="-O9 -mpentiumpro -march=pentiumpro -mcpu=pentiumpro"
 
-for those that want eet and edb image loading ability:
+for those that want eet and edb image loading ability and eet font loading:
 
 ./configure \
 --enable-software-x11 \
@@ -103,6 +103,7 @@
 --enable-image-loader-jpeg \
 --enable-image-loader-eet \
 --enable-image-loader-edb \
+--enable-font-loader-eet \
 --enable-cpu-p2-only \
 --enable-cpu-mmx \
 --enable-cpu-sse \
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/conf-e-x11.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -3 -r1.5 -r1.6
--- conf-e-x11.sh       14 Jan 2004 20:23:55 -0000      1.5
+++ conf-e-x11.sh       23 Jan 2004 02:13:07 -0000      1.6
@@ -9,6 +9,7 @@
 --enable-image-loader-jpeg \
 --enable-image-loader-eet \
 --enable-image-loader-edb \
+--enable-font-loader-eet \
 --enable-cpu-mmx \
 --enable-cpu-sse \
 --enable-cpu-c \
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/configure.in,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -3 -r1.68 -r1.69
--- configure.in        14 Jan 2004 20:23:55 -0000      1.68
+++ configure.in        23 Jan 2004 02:13:08 -0000      1.69
@@ -405,6 +405,34 @@
   )
 fi
 
+have_eet_fonts="";
+
+AC_MSG_CHECKING(whether to enable eet font loader)
+
+AC_ARG_ENABLE(font-loader-eet, 
+  [  --enable-font-loader-eet        enable eet font loader], [
+      if [ test "$enableval" = "yes" ]; then
+        AC_MSG_RESULT(yes)
+       have_eet_fonts="yes"
+      else
+        AC_MSG_RESULT(no)
+      fi
+  ], [
+      AC_MSG_RESULT(yes)
+      have_eet_fonts="yes"
+  ]
+)
+
+if test "x$have_eet_fonts" = "xyes"; then
+  AC_CHECK_LIB(eet, eet_open,
+    [
+      AC_DEFINE(BUILD_FONT_LOADER_EET, 1, [EET Font Loader Support])
+      eet_cflags=`eet-config --cflags`
+      eet_libs=`eet-config --libs`
+    ]
+  )
+fi
+
 have_eet="";
 
 AC_MSG_CHECKING(whether to enable eet image loader)
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/evas/evas.c.in,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -3 -r1.20 -r1.21
--- evas.c.in   11 Dec 2003 22:58:23 -0000      1.20
+++ evas.c.in   23 Jan 2004 02:13:10 -0000      1.21
@@ -248,7 +248,8 @@
 make CFLAGS="-O9 -mpentiumpro -march=pentiumpro -mcpu=pentiumpro"
 @endverbatim
 
-For those that want eet and edb image loading ability:
+For those that want eet and edb image loading ability and eet font loading
+ability:
 
 @verbatim
 ./configure \
@@ -257,6 +258,7 @@
 --enable-image-loader-jpeg \
 --enable-image-loader-eet \
 --enable-image-loader-edb \
+--enable-font-loader-eet \
 --enable-cpu-p2-only \
 --enable-cpu-mmx \
 --enable-cpu-sse \




-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs

Reply via email to