Official mirror of https://gitlab.freedesktop.org/freetype/freetype
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tag:
Branch:
Tree:
7802d4664d
1076-regression-ft_render_glyph-returns-error-when-trying-to-render-bitmap-otb-fonts
1100-sdf-improvements
1100-sdf-precision-improvement
2.6.5
BRANCH-2-1-5
CACHE
GSoC-2017-ewaldhew
GSoC-2017-ewaldhew-wip
GSoC-2017-kushal
GSoC-2018-nikhil
GSoC-2018-parth
GSoC-2019-moazin
GSoC-2019-nikhil
GSoC-2020-anuj
GSoC-2020-greg
GSoC-2020-priyesh
GSoC-2023-Ahmet
Harmony
LAYOUT
OpenType-1.8
RGB
VER-2-0-4-PATCH
adjust
anuj-distance-field
apodtele-master-patch-38950
apodtele-master-patch-56869
apodtele-master-patch-68578
arv-test
arv-testing
arv-work
autohinter-properties
bitmap_convert
cff_loading
check-deprecated-warning-for-macosx
cmakelists-updates
cmap32
color
david-pic-changes
dbgmem-more-limiters
div-by-zero
ewaldhew-cleaned
ewaldhew-wip
fix-sdf-squared-distances
fix-x86_32.x86-compilation
gsoc-2023-ahmet-final
gsoc-anurag-2022
gsoc-anurag-2022-docs
gsoc-anurag-2022-final
gsoc-anurag-2023
gsoc-anurag-2023-docs-final
gsoc-anurag-2023-final
gsoc-anurag-docs-2023
gsoc-craig-2023
gsoc-craig-2023-final
hdmx-advances
hooks-via-module-property
int-not32-changes
int-not32-changes-2017
internal-zlib-update
master
msbuild-ci
msbuild-test
ot-svg-clean
parthw-cleaned
parthw-pk-vf
parthw-wip
priyesh_LogLibrary
remove_sse2
slot-inflate
smooth_malloc
truetype-mm
unclamp
unsigned-revisions
update-zlib-sources
wl/colr
wl/meson-logging
BETA-5
BETA-6
BETA-7
BETA-8
CACHE-STEP-1
CACHE-STEP-2
DATE-050920
PRE-2-0-1
PRE-2-0-6
RELEASE-2-0
TEST-2-0-9
VER-2-0
VER-2-0-1
VER-2-0-2
VER-2-0-2-TEST
VER-2-0-3
VER-2-0-4
VER-2-0-5
VER-2-0-6
VER-2-0-7
VER-2-0-8
VER-2-0-9
VER-2-1-0
VER-2-1-1
VER-2-1-1-RC1
VER-2-1-10
VER-2-1-2
VER-2-1-2-RC1
VER-2-1-3
VER-2-1-3-RC1
VER-2-1-3-RC2
VER-2-1-3-RC3
VER-2-1-4
VER-2-1-4-RC1
VER-2-1-4-RC2
VER-2-1-5
VER-2-1-5-RC1
VER-2-1-5-RC2
VER-2-1-6
VER-2-1-7
VER-2-1-8
VER-2-1-8-RC1
VER-2-1-9
VER-2-10-0
VER-2-10-1
VER-2-10-2
VER-2-10-3
VER-2-10-4
VER-2-11-0
VER-2-11-1
VER-2-12-0
VER-2-12-1
VER-2-13-0
VER-2-13-1
VER-2-13-2
VER-2-13-3
VER-2-2-0
VER-2-2-0-RC1
VER-2-2-0-RC2
VER-2-2-0-RC3
VER-2-2-0-RC4
VER-2-2-1
VER-2-3-0
VER-2-3-0-FINAL
VER-2-3-0-RC1
VER-2-3-0-RC2
VER-2-3-1
VER-2-3-1-FINAL
VER-2-3-10
VER-2-3-11
VER-2-3-12
VER-2-3-2
VER-2-3-3
VER-2-3-4
VER-2-3-5
VER-2-3-5-REAL
VER-2-3-6
VER-2-3-7
VER-2-3-8
VER-2-3-9
VER-2-4-0
VER-2-4-1
VER-2-4-10
VER-2-4-11
VER-2-4-12
VER-2-4-12-beta
VER-2-4-2
VER-2-4-3
VER-2-4-4
VER-2-4-5
VER-2-4-6
VER-2-4-7
VER-2-4-8
VER-2-4-9
VER-2-5-0
VER-2-5-0-1
VER-2-5-1
VER-2-5-2
VER-2-5-3
VER-2-5-4
VER-2-5-5
VER-2-6
VER-2-6-1
VER-2-6-2
VER-2-6-3
VER-2-6-4
VER-2-6-5
VER-2-7
VER-2-7-1
VER-2-8
VER-2-8-1
VER-2-9
VER-2-9-1
VER-2-BETA2
VER-2-BETA3
VER-2-BETA4
freetype
freetype2
import
start
${ noResults }
freetype/demos
David Turner
f0df85ba2a
A lot of internal modifications have been performed lately on the source in order to provide the following enhancements: - more generic module support: The FT_Module type is now defined to represent a handle to a given module. The file <freetype/ftmodule.h> contains the FT_Module_Class definition, as well as the module-loading public API The FT_Driver type is still defined, and still represents a pointer to a font driver. Note that FT_Add_Driver is replaced by FT_Add_Module, FT_Get_Driver by FT_Get_Module, etc.. - support for generic glyph image types: The FT_Renderer type is a pointer to a module used to perform various operations on glyph image. Each renderer is capable of handling images in a single format (e.g. ft_glyph_format_outline). Its functions are used to: - transform an glyph image - render a glyph image into a bitmap - return the control box (dimensions) of a given glyph image The scan converters "ftraster.c" and "ftgrays.c" have been moved to the new directory "src/renderer", and are used to provide two default renderer modules. One corresponds to the "standard" scan-converter, the other to the "smooth" one. The current renderer can be set through the new function FT_Set_Renderer. The old raster-related function FT_Set_Raster, FT_Get_Raster and FT_Set_Raster_Mode have now disappeared, in favor of the new: FT_Get_Renderer FT_Set_Renderer see the file <freetype/ftrender.h> for more details.. These changes were necessary to properly support different scalable formats in the future, like bi-color glyphs, etc.. - glyph loader object: A new internal object, called a 'glyph loader' has been introduced in the base layer. It is used by all scalable format font drivers to load glyphs and composites. This object has been created to reduce the code size of each driver, as each one of them basically re-implemented its functionality. See <freetype/internal/ftobjs.h> and the FT_GlyphLoader type for more information.. - FT_GlyphSlot had new fields: In order to support extended features (see below), the FT_GlyphSlot structure has a few new fields: linearHoriAdvance: this field gives the linearly scaled (i.e. scaled but unhinted) advance width for the glyph, expressed as a 16.16 fixed pixel value. This is useful to perform WYSIWYG text. linearVertAdvance: this field gives the linearly scaled advance height for the glyph (relevant in vertical glyph layouts only). This is useful to perform WYSIWYG text. Note that the two above field replace the removed "metrics2" field in the glyph slot. advance: this field is a vector that gives the transformed advance for the glyph. By default, it corresponds to the advance width, unless FT_LOAD_VERTICAL_LAYOUT was specified when calling FT_Load_Glyph or FT_Load_Char bitmap_left: this field gives the distance in integer pixels from the current pen position to the left-most pixel of a glyph image WHEN IT IS A BITMAP. It is only valid when the "format" field is set to "ft_glyph_format_bitmap", for example, after calling the new function FT_Render_Glyph. bitmap_top: this field gives the distance in integer pixels from the current pen position (located on the baseline) to the top-most pixel of the glyph image WHEN IT IS A BITMAP. Positive values correspond to upwards Y. loader: this is a new private field for the glyph slot. Client applications should not touch it.. - support for transforms and direct rendering in FT_Load_Glyph: Most of the functionality found in <freetype/ftglyph.h> has been moved to the core library. Hence, the following: - a transform can be specified for a face through FT_Set_Transform. this transform is applied by FT_Load_Glyph to scalable glyph images (i.e. NOT TO BITMAPS) before the function returns, unless the bit flag FT_LOAD_IGNORE_TRANSFORM was set in the load flags.. - once a glyph image has been loaded, it can be directly converted to a bitmap by using the new FT_Render_Glyph function. Note that this function takes the glyph image from the glyph slot, and converts it to a bitmap whose properties are returned in "face.glyph.bitmap", "face.glyph.bitmap_left" and "face.glyph.bitmap_top". The original native image might be lost after the conversion. - when using the new bit flag FT_LOAD_RENDER, the FT_Load_Glyph and FT_Load_Char functions will call FT_Render_Glyph automatically when needed. |
25 years ago | |
---|---|---|
.. | ||
bin | added 'demos/bin' to the repository | 25 years ago |
graph | bugfix for using gcc with lots of options :-) | 25 years ago |
mac | updated project files | 25 years ago |
obj | Initial revision | 25 years ago |
src | - MAJOR INTERNAL REDESIGN: | 25 years ago |
Makefile | ftview now has two new options: -d activates debugging, and -l sets the | 25 years ago |