Mercurial > mplayer.hg
annotate libass/Makefile @ 20874:b6d87b58754f
Partial fix for semitransparent glyph outlines.
This fix removes semitransparent area (less then pixel width) between glyph and
it's outline. Instead, it makes them overlap a little. It usually looks much
better this way.
Complete fix seems impossible with the current output format (single color
alpha bitmaps). The right way is to blend both glyph and outline into one
bitmap so that 2 pixels with 50% transparency produce a fully solid one.
This requires RGBA bitmap output from libass.
author | eugeni |
---|---|
date | Mon, 13 Nov 2006 16:35:15 +0000 |
parents | de4a66d99f41 |
children | 618d1857f4c4 |
rev | line source |
---|---|
18937 | 1 |
2 include ../config.mak | |
3 | |
4 LIBNAME=libass.a | |
5 | |
6 LIBS=$(LIBNAME) | |
7 | |
20477 | 8 SRCS=ass.c ass_cache.c ass_fontconfig.c ass_render.c ass_utils.c ass_mp.c ass_bitmap.c ass_library.c |
18937 | 9 |
10 OBJS=$(SRCS:.c=.o) | |
11 | |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
12 CFLAGS = -I. -I.. \ |
18937 | 13 -I../libmpcodecs \ |
19420
4f71ed7cb512
Move all internal -I parameters to the front of CFLAGS to avoid using external
diego
parents:
19190
diff
changeset
|
14 $(OPTFLAGS) \ |
18937 | 15 -D_GNU_SOURCE \ |
16 | |
17 .SUFFIXES: .c .o | |
18 | |
19 # .PHONY: all clean | |
20 | |
21 .c.o: | |
22 $(CC) -c $(CFLAGS) -o $@ $< | |
23 | |
24 all: $(LIBS) | |
25 | |
26 $(LIBNAME): $(OBJS) | |
27 $(AR) r $(LIBNAME) $(OBJS) | |
28 $(RANLIB) $(LIBNAME) | |
29 | |
30 clean: | |
31 rm -f *.o *.a *~ | |
32 | |
33 distclean: clean | |
34 rm -f .depend | |
35 | |
36 dep: depend | |
37 | |
38 depend: | |
39 $(CC) -MM $(CFLAGS) $(SRCS) 1>.depend | |
40 | |
41 # | |
42 # include dependency files if they exist | |
43 # | |
44 ifneq ($(wildcard .depend),) | |
45 include .depend | |
46 endif | |
47 |