Updated license headers on new font code
This commit is contained in:
parent
3977ee687f
commit
be8b3cd210
18 changed files with 126 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Tiny library for rendering compressed bitmap fonts on microcontrollers. */
|
/* Tiny library for rendering compressed bitmap fonts on microcontrollers. */
|
||||||
|
|
||||||
#ifndef _MCUFONT_H_
|
#ifndef _MCUFONT_H_
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_bwfont.h"
|
#include "mf_bwfont.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Uncompressed font format for storing black & white fonts. Very efficient
|
/* Uncompressed font format for storing black & white fonts. Very efficient
|
||||||
* to decode and works well for small font sizes.
|
* to decode and works well for small font sizes.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Configuration constants for mcufont. */
|
/* Configuration constants for mcufont. */
|
||||||
|
|
||||||
#ifndef _MF_CONFIG_H_
|
#ifndef _MF_CONFIG_H_
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_encoding.h"
|
#include "mf_encoding.h"
|
||||||
|
|
||||||
#if MF_ENCODING == MF_ENCODING_UTF8
|
#if MF_ENCODING == MF_ENCODING_UTF8
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Simple UTF-8 decoder. Also implements the much simpler ASCII and UTF16
|
/* Simple UTF-8 decoder. Also implements the much simpler ASCII and UTF16
|
||||||
* input encodings.
|
* input encodings.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_font.h"
|
#include "mf_font.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Generic font type that supports fonts with multiple kinds of compression.
|
/* Generic font type that supports fonts with multiple kinds of compression.
|
||||||
* Provides an interface for decoding and rendering single characters.
|
* Provides an interface for decoding and rendering single characters.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_justify.h"
|
#include "mf_justify.h"
|
||||||
#include "mf_kerning.h"
|
#include "mf_kerning.h"
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Text alignment and justification algorithm. Supports left, right, center
|
/* Text alignment and justification algorithm. Supports left, right, center
|
||||||
* alignment and justify. Supports tab stops and kerning.
|
* alignment and justify. Supports tab stops and kerning.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_kerning.h"
|
#include "mf_kerning.h"
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Automatic kerning for font rendering. This solves the issue where some
|
/* Automatic kerning for font rendering. This solves the issue where some
|
||||||
* fonts (especially serif fonts) have too much space between specific
|
* fonts (especially serif fonts) have too much space between specific
|
||||||
* character pairs, like WA or L'.
|
* character pairs, like WA or L'.
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_rlefont.h"
|
#include "mf_rlefont.h"
|
||||||
|
|
||||||
/* Number of reserved codes before the dictionary entries. */
|
/* Number of reserved codes before the dictionary entries. */
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* A compressed font format based on run length encoding and dictionary
|
/* A compressed font format based on run length encoding and dictionary
|
||||||
* compression.
|
* compression.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_scaledfont.h"
|
#include "mf_scaledfont.h"
|
||||||
|
|
||||||
struct scaled_renderstate
|
struct scaled_renderstate
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Generate scaled (nearest-neighbor) fonts. This can be used for displaying
|
/* Generate scaled (nearest-neighbor) fonts. This can be used for displaying
|
||||||
* larger text without spending the memory required for including larger fonts.
|
* larger text without spending the memory required for including larger fonts.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
#include "mf_wordwrap.h"
|
#include "mf_wordwrap.h"
|
||||||
|
|
||||||
/* Returns true if the line can be broken at this character. */
|
/* Returns true if the line can be broken at this character. */
|
||||||
|
|
|
@ -1,3 +1,10 @@
|
||||||
|
/*
|
||||||
|
* This file is subject to the terms of the GFX License. If a copy of
|
||||||
|
* the license was not distributed with this file, you can obtain one at:
|
||||||
|
*
|
||||||
|
* http://ugfx.org/license.html
|
||||||
|
*/
|
||||||
|
|
||||||
/* Word wrapping algorithm with UTF-8 support. More than just a basic greedy
|
/* Word wrapping algorithm with UTF-8 support. More than just a basic greedy
|
||||||
* word-wrapper: it attempts to balance consecutive lines as pairs.
|
* word-wrapper: it attempts to balance consecutive lines as pairs.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue