summaryrefslogtreecommitdiff
path: root/include/freetype/ftbitmap.h
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace. From Alexei.Werner Lemberg2007-01-161-1/+1
|
* * src/tools/docmaker/sources.py (re_source_keywords): Add wordWerner Lemberg2006-05-121-2/+2
| | | | | | | | | boundary markers. * src/tools/docmaker/content.py (re_field): Allow `.' in field names (but not at the beginning or end). * include/freetype/*: Many minor documentation improvements (adding links, spelling errors, etc.).
* Formatting, copyright years, minor cleanups.Werner Lemberg2006-02-251-1/+1
|
* * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): UpdateWu, Chia-I (吳佳一)2006-02-241-2/+2
| | | | | | | | | | | documentation. * include/freetype/ftsynth.h (FT_GlyphSlot_Own_Bitmap), src/base/ftsynth.c (FT_GlyphSlot_Own_Bitmap): New function to make sure a glyph slot owns its bitmap. It is also marked experimental and due to change. (FT_GlyphSlot_Embolden): Undo the last change. It turns out rendering the outline confuses some applications.
* * include/freetype/ftbitmap.h (FT_Bitmap_Copy, FT_Bitmap_Embolden),Wu, Chia-I (吳佳一)2005-10-201-2/+2
| | | | | | src/base/ftbdf.c (FT_Get_BDF_Property), src/cache/ftcmru.c (FTC_MruList_Reset, FTC_MruList_Done, FTC_MruList_Lookup): Misuse of FT_EXPORT/FT_EXPORT_DEF.
* * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): MinorWerner Lemberg2005-05-301-5/+4
| | | | | | | | | | | documentation improvements. * include/freetype/ftoutln.h (FT_Outline_Embolden): Fix typos. * src/base/ftbitmap.c (FT_Bitmap_Embolden): Add support for bitmap of pixel_mode FT_PIXEL_MODE_GRAY2 or FT_PIXEL_MODE_GRAY4. If xstr is larger than 8 and bitmap is of pixel_mode FT_PIXEL_MODE_MONO, set xstr to 8 instead of returning error.
* * src/base/ftobjs.c (ft_cmap_done_internal): New function.Werner Lemberg2005-05-271-2/+4
| | | | | | (FT_CMap_Done): Remove cmap from cmap list. (destroy_charmaps, FT_CMap_New): Don't call FT_CMap_Done but ft_cmap_done_internal.
* * docs/GPL.txt: Update postal address of FSF.Werner Lemberg2005-05-261-0/+4
| | | | | | | | | * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): Improve documentation. * src/base/ftsynth.c (FT_BOLD_THRESHOLD): Removed. (FT_GlyphSlot_Embolden): Check whether slot is bitmap owner. Always modify the metrics.
* * docs/CHANGES: Updated.Werner Lemberg2005-05-251-0/+36
| | | | | | | | | | | | | | | | | * include/freetype/ftbitmap.h (FT_Bitmap_Embolden): New declaration. * include/freetype/ftoutln.h (FT_Outline_Embolden): New declaration. * src/base/ftbitmap.c (ft_bitmap_assure_buffer): New auxiliary function. (FT_Bitmap_Embolden): New function. * src/base/ftoutln.c (FT_Outline_Embolden): New function. * src/base/ftsynth.c: Don't include FT_INTERNAL_CALC_H and FT_TRIGONOMETRY_H but FT_BITMAP_H. (FT_GlyphSlot_Embolden): Use FT_Outline_Embolden or FT_Bitmap_Embolden.
* * docs/CHANGES: Updated.Werner Lemberg2005-05-201-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/base/ftbitmap.c: Don't include FT_FREETYPE_H and FT_IMAGE_H but FT_BITMAP_H. (FT_Bitmap_Copy): New function (from ftglyph.c). * include/freetype/ftbitmap.h (FT_Bitmap_Copy): New public definition. * src/base/ftglyph.c: Include FT_BITMAP_H. (ft_bitmap_copy): Move to ftbitmap.c. (ft_bitmap_glyph_init): Remove `memory' variable. Create new bitmap object if FT_GLYPH_OWN_BITMAP isn't set. (ft_bitmap_glyph_copy): Use FT_Bitmap_Copy. (ft_bitmap_glyph_done): Use FT_Bitmap_Done. (ft_outline_glyph_init): Use FT_Outline_Copy. * src/base/ftoutln.c (FT_Outline_Copy): Handle source == target. (FT_Outline_Done_Internal): Check for valid `memory' pointer. (FT_Outline_Translate, FT_Outline_Reverse, FT_Outline_Render, FT_Outline_Transform): Check for valid `outline' pointer. * src/base/ftobjs.c (FT_New_GlyphSlot): Prepend glyph slot to face->glyph, otherwise a new second glyph slot cannot be created. (FT_Done_GlyphSlot): Fix memory leak. (FT_Open_Face): Updated -- face->glyph is already managed by FT_New_GlyphSlot. * src/type42/t42objs.c (T42_GlyphSlot_Done): Updated.
* Small additions to fix reference creation.Werner Lemberg2004-12-141-0/+9
|
* * src/base/ftbitmap.c, include/freetype/ftbitmap.h: New files forWerner Lemberg2004-12-141-0/+133
handling various bitmap formats. * include/freetype/config/ftheader.h (FT_BITMAP_H): New macro. * src/base/rules.mk (BASE_EXT_SRC): Add ftbitmap.c. * src/bdf/bdfdrivr.c (BDF_Glyph_Load): Don't convert bitmaps to 8bpp but return them as-is. * docs/CHANGES: Mention new bitmap API. * include/freetype/ftchapter.s: Updated.