summaryrefslogtreecommitdiff
path: root/struct.c
AgeCommit message (Collapse)Author
2023-04-01Use C99 compound literals to initialize newly allocated structsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-04-01Remove unused function findIndexAlan Coopersmith
Found by cppcheck Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-04-01makeBitmap: declare raster parameter const as recommended by cppcheckAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2023-04-01Variable scope reductions as recommended by cppcheckAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2020-09-22move metrics calculation to write.cChristopher Zimmermann
2020-09-22use design metrics in eblc instead of calculated metricsChristopher Zimmermann
This will probably not work for a font providing multiple strikes. But .bdf fonts don't provide multiple strikes (or do they?!?) I don't know about .pcf fonts, but I would recommend against running fonttosfnt on .pcf fonts because bdf2pcf seems to loose some attributes during conversion.
2020-09-22use more properties according to XLFDChristopher Zimmermann
2020-09-22don't add arbitrary number to the glypth metricsChristopher Zimmermann
This caused pango to calculate wrong, too large font extents and in consequence gvim used too large character cells.
2019-01-10Avoid undefined behaviourMaya Rashish
Left shifting a negative is undefined. For consistency, use the equivalent form of multiplication for the positive numbers as well.
2009-01-12Ansification and compile warning fixes.Paulo Cesar Pereira de Andrade
This also uses XORG_CHANGELOG and XORG_CWARNFLAGS, corrects make distcheck and all gcc 4.3 and sparse warnings.
2004-04-23Merging XORG-CURRENT into trunkXACE-SELINUX-MERGEEgbert Eich
2004-03-14Importing vendor version xf86-4_4_99_1 on Sun Mar 14 00:26:39 PST 2004xf86-4_4_99_1Egbert Eich
2004-03-03Importing vendor version xf86-4_4_0 on Wed Mar 3 04:09:24 PST 2004xf86-4_4_0Egbert Eich
2004-02-26readding XFree86's cvs IDsxf86-4_3_99_903Egbert Eich
2004-02-26Importing vendor version xf86-4_3_99_903 on Wed Feb 26 01:21:00 PST 2004Egbert Eich
2003-11-25Initial revisionKaleb Keithley