Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 17315
Collapse All | Expand All

(-)ttf2fft/makefile (-2 / +2 lines)
Lines 1-7 Link Here
1
CFLAGS = `freetype-config --cflags`
1
CFLAGS += `freetype-config --cflags`
2
LIBS = `freetype-config --libs` -lm
2
LIBS = `freetype-config --libs` -lm
3
3
4
all: ttf2fft
4
all: ttf2fft
5
5
6
ttf2fft: ttf2fft.cxx
6
ttf2fft: ttf2fft.cxx
7
	gcc -o ttf2fft *.cxx $(CFLAGS) $(LIBS)
7
	g++ -o ttf2fft *.cxx $(CFLAGS) $(LIBS)
(-)ttf2fft/ttf2fft.cxx (-1 / +1 lines)
Lines 727-733 Link Here
727
727
728
        int sz = 0;
728
        int sz = 0;
729
        for( int i=0; i<nKern; i++ ) {
729
        for( int i=0; i<nKern; i++ ) {
730
            TT_Kern_0_Pair* pair = ttface->kern_pairs + i;
730
            TT_Kern0_Pair pair = ttface->kern_pairs + i;
731
            int left_idx = pair->left;
731
            int left_idx = pair->left;
732
            int right_idx = pair->right;
732
            int right_idx = pair->right;
733
            int value = (int) (pair->value*ratio_EM);
733
            int value = (int) (pair->value*ratio_EM);

Return to bug 17315