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. */
|
||||
|
||||
#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 <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
|
||||
* 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. */
|
||||
|
||||
#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"
|
||||
|
||||
#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
|
||||
* 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 <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.
|
||||
* 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_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
|
||||
* 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 <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
|
||||
* fonts (especially serif fonts) have too much space between specific
|
||||
* 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"
|
||||
|
||||
/* 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
|
||||
* 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"
|
||||
|
||||
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
|
||||
* 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"
|
||||
|
||||
/* 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-wrapper: it attempts to balance consecutive lines as pairs.
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue