2020-12-24 08:41:12 +01:00
|
|
|
#
|
|
|
|
# FreeType 2 Signed Distance Field module definition
|
|
|
|
#
|
|
|
|
|
|
|
|
|
2023-01-17 09:18:25 +01:00
|
|
|
# Copyright (C) 2020-2023 by
|
2020-12-24 08:41:12 +01:00
|
|
|
# David Turner, Robert Wilhelm, and Werner Lemberg.
|
|
|
|
#
|
|
|
|
# This file is part of the FreeType project, and may only be used, modified,
|
|
|
|
# and distributed under the terms of the FreeType project license,
|
|
|
|
# LICENSE.TXT. By continuing to use, modify, or distribute this file you
|
|
|
|
# indicate that you have read the license and understand and accept it
|
|
|
|
# fully.
|
2020-08-19 13:27:38 +02:00
|
|
|
|
|
|
|
|
|
|
|
FTMODULE_H_COMMANDS += SDF_RENDERER
|
|
|
|
FTMODULE_H_COMMANDS += BSDF_RENDERER
|
|
|
|
|
|
|
|
define SDF_RENDERER
|
|
|
|
$(OPEN_DRIVER) FT_Renderer_Class, ft_sdf_renderer_class $(CLOSE_DRIVER)
|
|
|
|
$(ECHO_DRIVER)sdf $(ECHO_DRIVER_DESC)signed distance field renderer$(ECHO_DRIVER_DONE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
define BSDF_RENDERER
|
|
|
|
$(OPEN_DRIVER) FT_Renderer_Class, ft_bitmap_sdf_renderer_class $(CLOSE_DRIVER)
|
|
|
|
$(ECHO_DRIVER)bsdf $(ECHO_DRIVER_DESC)bitmap to signed distance field converter$(ECHO_DRIVER_DONE)
|
|
|
|
endef
|
|
|
|
|
|
|
|
#EOF
|