Commit Graph

803 Commits

Author SHA1 Message Date
Cedric BAIL b15093851e evas: fix evas_pipe and use eina_condition.
SVN revision: 59291
2011-05-09 11:05:04 +00:00
Cedric BAIL a68c149866 evas: don't try all loader on directory.
SVN revision: 59235
2011-05-06 09:36:24 +00:00
Tom Hacohen 94cb08b3fc Evas font-engine: Made the cutoff error more verbose.
SVN revision: 59207
2011-05-05 11:06:03 +00:00
Tom Hacohen 05df9e72f2 Evas font-query: Fixed documentation error.
SVN revision: 59206
2011-05-05 11:05:59 +00:00
Tom Hacohen e307051ccb Evas text_utils: Added evas_common_text_props_can_split
SVN revision: 59202
2011-05-05 11:05:37 +00:00
Tom Hacohen 5e287a25da Evas font: only "bidi-shape" RTL strings.
SVN revision: 59183
2011-05-04 08:46:17 +00:00
Tom Hacohen cd674cb1c6 Evas font-engine: Moved non-draw related from font_draw.c to font_main.c
SVN revision: 59180
2011-05-04 08:27:19 +00:00
Tom Hacohen b186585231 Evas font-engine: Use Eina_Unicode instead of int for unicode codepoints
SVN revision: 59179
2011-05-04 08:27:13 +00:00
Tom Hacohen 232158ba48 Evas language: Fixed a warning and a comment.
SVN revision: 59173
2011-05-04 06:57:45 +00:00
Tom Hacohen 3f0411265a Evas font-engine: Fix size activation of fi in content_create.
SVN revision: 59153
2011-05-03 16:18:17 +00:00
Tom Hacohen 2e71b5ab90 Evas font-engine: Fix glyphs not being drawn.
Thanks to Brian Wang for the report.

This happened because we were querying for the index of the wrong fi,
this became especially visible after we started caching fi.

SVN revision: 59152
2011-05-03 14:36:47 +00:00
Tom Hacohen e93f10b8aa Evas font-engine: Remove passing of strings to font_draw.
This is not needed anymore because we have working string objects.

SVN revision: 59133
2011-05-02 15:33:46 +00:00
Tom Hacohen dad49dd1f2 Evas font-draw: Fix word-cache to not need text.
SVN revision: 59132
2011-05-02 15:33:38 +00:00
Tom Hacohen 61e340ec6c Evas textblock: Now that we cache fi, we don't need shaped_text anymore.
SVN revision: 59131
2011-05-02 15:33:35 +00:00
Tom Hacohen 0bf964a221 Evas textblock: We finally cache fi - remove related hacks.
SVN revision: 59129
2011-05-02 15:33:27 +00:00
Tom Hacohen 2e0bb38935 Evas bidi: Made fribidichar<->eina_unicode conversion a compile time test.
SVN revision: 59122
2011-05-02 13:24:26 +00:00
Tom Hacohen 9d23367627 Evas font-engine: Cache fi for all cases (even without harfbuzz).
This is now possible, because we have a script querying function.

SVN revision: 59109
2011-05-02 09:28:00 +00:00
Tom Hacohen af53b3d4a9 Evas language: Split to script even if there's no Harfbuzz.
SVN revision: 59108
2011-05-02 09:27:56 +00:00
Tom Hacohen 5793e609a0 Evas font-engine: Made *_unicode_funcs_get internal to font_ot.c
SVN revision: 59107
2011-05-02 09:27:49 +00:00
Carsten Haitzler a05d575f0a warning-- for eina locks
SVN revision: 59102
2011-05-02 08:24:27 +00:00
Tom Hacohen afac2fdd18 Evas language: Added a character script querying function.
This is added until there will be a library that does it; From my
understanding, there are already people working on such library.

SVN revision: 59100
2011-05-02 07:28:07 +00:00
Tom Hacohen 9389fed0a0 Evas language: Updated scripts according to Unicode 6.0
SVN revision: 59099
2011-05-02 07:28:02 +00:00
Tom Hacohen fb511c9dfe Evas language: Fix typos.
SVN revision: 59098
2011-05-02 07:27:59 +00:00
Carsten Haitzler e3a69d7c4a and fix up lock goop to work right with improved eina lock goop. i
hope i nixed this bug.



SVN revision: 59086
2011-05-01 13:25:23 +00:00
Carsten Haitzler f2e2d8963a could have a cache deadlock here as _sci_find is called from with
already locked caches.



SVN revision: 59063
2011-05-01 06:24:02 +00:00
Tom Hacohen 5570891eb3 Evas font-engine: Fixed rendering of empty text.
SVN revision: 59006
2011-04-28 15:02:11 +00:00
Tom Hacohen 7280b0d852 Evas font-engine: Document and cleanup the comments in font-query.
SVN revision: 59002
2011-04-28 12:57:35 +00:00
Tom Hacohen 2ca672d8b4 Evas font-engine: Remove dependency or harfbuzz being built with glib.
Harfbuzz needs unicode querying functions in order to work properly,
until there'll be a nice lib that does that (should be under dev) we have
to depend on an outside source. This commit uses new Harfbuzz API that
lets us not care about the unicode function provider and just let harfbuzz
to manage it on it's own.

SVN revision: 58961
2011-04-27 14:00:00 +00:00
Tom Hacohen a3e8da3507 Evas font-engine: Fixes last commit to not seg when not using OT.
SVN revision: 58936
2011-04-26 14:20:45 +00:00
Tom Hacohen 476ac636d5 Revert "BAD TASN!". Yeah, I'm evil.
Following commit includes a fix.

This reverts commit 58933.

SVN revision: 58935
2011-04-26 14:20:41 +00:00
Tom Hacohen 8f41c4c125 Evas font-engine: Updated comments.
SVN revision: 58934
2011-04-26 14:20:38 +00:00
Carsten Haitzler 2d2b2d686e BAD TASN!
ROLL BACK TODAYS CHANGES TO EVAS....

SEGV SEGV EVERYWHERE!

*SPANK*



SVN revision: 58933
2011-04-26 14:05:01 +00:00
Tom Hacohen a3c144d2c9 Evas font-engine: fix issue with using the wrong fi.
SVN revision: 58930
2011-04-26 10:21:01 +00:00
Tom Hacohen cb561612f2 Evas font-engine: use the cached fi instead of searching for it.
SVN revision: 58926
2011-04-26 09:26:33 +00:00
Tom Hacohen 9b0005e62a Evas font-engine: Added a fixme.
SVN revision: 58925
2011-04-26 09:14:23 +00:00
Tom Hacohen f0e18f58ff Evas font-engine: Cache fi when using Harfbuzz.
Soon I will also do it for all cases, but it's not possible at the
moment because we depend on harfbuzz for querying unicode properties.

SVN revision: 58924
2011-04-26 09:14:02 +00:00
Carsten Haitzler 0e57095d06 add generic image loader. allows for GPL loaders, unstable loaders and
more. making a loader is a matter of a binary of a specific name and
evas passes certain input on the cmd-line and your binary produces
output on stdout (and also optionally additionally in a shm or tmp
file).



SVN revision: 58914
2011-04-26 01:03:06 +00:00
Cedric BAIL a613126be4 evas: don't forget to init eina_threads when using threads.
SVN revision: 58908
2011-04-25 17:11:58 +00:00
Cedric BAIL 0cef5e41fe evas: add psd file format support.
Patch from Thierry el Borgi with some rework of myself.

NOTE: I don't have much file to test, so if some don't
contact us with those file and we will fix the loader
if needed.


SVN revision: 58873
2011-04-24 19:45:43 +00:00
Carsten Haitzler fa309e5069 nash -> i fixed your mask rendering. interesting you only mask *IF*
you have 1:1 scaling. you could do this with scaled imaged (and
unscaled masks) with ease. both smooth and nearest.



SVN revision: 58838
2011-04-23 02:02:45 +00:00
Carsten Haitzler 8cca4234c4 comments for nash
SVN revision: 58837
2011-04-23 01:22:17 +00:00
Carsten Haitzler 6282cc0a6d wrn-- -> my bad.
SVN revision: 58836
2011-04-23 00:35:42 +00:00
Carsten Haitzler c885080057 an initial test at trying pixman instead of evas software rendering.
results... in comments. disabled atm unless u --enable it. only
replaces 1 operation in 2 cases.



SVN revision: 58824
2011-04-22 11:47:14 +00:00
Tom Hacohen 902d94afb9 Evas textblock: Added a temp fix for repch until implemented nicely.
This fix is just until we finally split to scripts and cache fi all
the time, i.e in all the possible paths (regular, fribidi and harfbuzz).

SVN revision: 58806
2011-04-21 15:34:44 +00:00
Tom Hacohen 48d0603e5d Evas harfbuzz: Adjust evas to work with Harfbuzz >= 3.0
SVN revision: 58802
2011-04-21 14:04:53 +00:00
Tom Hacohen 543a0da0d8 Evas font-engine: Fixed kerning issue and a major rendering bug.
Kerning: We are walking the string visually so we don't need to do
anything special for kerning when in rtl, freetype works with "left" and
"right" which we automatically get.

Rendering bug: Cedric found that in some cases there were missing
characters. This was caused because I forgot to convert the kerning from
16.6 fixed point to int.

SVN revision: 58783
2011-04-21 08:47:16 +00:00
Carsten Haitzler 794f1c56cd warning--
SVN revision: 58777
2011-04-21 06:21:51 +00:00
Brett Nash aaf036eec9 Evas: Filter: Avoid a double free.
I just don't know why.

SVN revision: 58776
2011-04-21 06:01:59 +00:00
Tom Hacohen cb19804054 Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
SVN revision: 58760
2011-04-20 14:35:37 +00:00
Tom Hacohen 57665ebf34 Evas font: Removed a deprecated macro.
SVN revision: 58759
2011-04-20 14:21:00 +00:00