aboutsummaryrefslogtreecommitdiffstats
path: root/src/gdisp
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-28 17:22:24 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-28 17:22:24 +1000
commitbe8b3cd2102f4c2fe66307d81c8c04391292cf1f (patch)
treea37d8035ff76310e9744865d3c5858f21b915c5f /src/gdisp
parent3977ee687ffff23e49dcac0ea9a7c3e8652248f0 (diff)
downloaduGFX-be8b3cd2102f4c2fe66307d81c8c04391292cf1f.tar.gz
uGFX-be8b3cd2102f4c2fe66307d81c8c04391292cf1f.tar.bz2
uGFX-be8b3cd2102f4c2fe66307d81c8c04391292cf1f.zip
Updated license headers on new font code
Diffstat (limited to 'src/gdisp')
-rw-r--r--src/gdisp/mcufont/mcufont.h7
-rw-r--r--src/gdisp/mcufont/mf_bwfont.c7
-rw-r--r--src/gdisp/mcufont/mf_bwfont.h7
-rw-r--r--src/gdisp/mcufont/mf_config.h7
-rw-r--r--src/gdisp/mcufont/mf_encoding.c7
-rw-r--r--src/gdisp/mcufont/mf_encoding.h7
-rw-r--r--src/gdisp/mcufont/mf_font.c7
-rw-r--r--src/gdisp/mcufont/mf_font.h7
-rw-r--r--src/gdisp/mcufont/mf_justify.c7
-rw-r--r--src/gdisp/mcufont/mf_justify.h7
-rw-r--r--src/gdisp/mcufont/mf_kerning.c7
-rw-r--r--src/gdisp/mcufont/mf_kerning.h7
-rw-r--r--src/gdisp/mcufont/mf_rlefont.c7
-rw-r--r--src/gdisp/mcufont/mf_rlefont.h7
-rw-r--r--src/gdisp/mcufont/mf_scaledfont.c7
-rw-r--r--src/gdisp/mcufont/mf_scaledfont.h7
-rw-r--r--src/gdisp/mcufont/mf_wordwrap.c7
-rw-r--r--src/gdisp/mcufont/mf_wordwrap.h7
18 files changed, 126 insertions, 0 deletions
diff --git a/src/gdisp/mcufont/mcufont.h b/src/gdisp/mcufont/mcufont.h
index 8a81ff42..7479d2b1 100644
--- a/src/gdisp/mcufont/mcufont.h
+++ b/src/gdisp/mcufont/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
+ */
+
/* Tiny library for rendering compressed bitmap fonts on microcontrollers. */
#ifndef _MCUFONT_H_
diff --git a/src/gdisp/mcufont/mf_bwfont.c b/src/gdisp/mcufont/mf_bwfont.c
index 918fbb29..b185b57f 100644
--- a/src/gdisp/mcufont/mf_bwfont.c
+++ b/src/gdisp/mcufont/mf_bwfont.c
@@ -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>
diff --git a/src/gdisp/mcufont/mf_bwfont.h b/src/gdisp/mcufont/mf_bwfont.h
index 9aea2ac9..f0429073 100644
--- a/src/gdisp/mcufont/mf_bwfont.h
+++ b/src/gdisp/mcufont/mf_bwfont.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.
*/
diff --git a/src/gdisp/mcufont/mf_config.h b/src/gdisp/mcufont/mf_config.h
index 7e58c8f6..f9210123 100644
--- a/src/gdisp/mcufont/mf_config.h
+++ b/src/gdisp/mcufont/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
+ */
+
/* Configuration constants for mcufont. */
#ifndef _MF_CONFIG_H_
diff --git a/src/gdisp/mcufont/mf_encoding.c b/src/gdisp/mcufont/mf_encoding.c
index 4e3975ae..f736651b 100644
--- a/src/gdisp/mcufont/mf_encoding.c
+++ b/src/gdisp/mcufont/mf_encoding.c
@@ -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
diff --git a/src/gdisp/mcufont/mf_encoding.h b/src/gdisp/mcufont/mf_encoding.h
index e96718b7..d2673d16 100644
--- a/src/gdisp/mcufont/mf_encoding.h
+++ b/src/gdisp/mcufont/mf_encoding.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
+ */
+
/* Simple UTF-8 decoder. Also implements the much simpler ASCII and UTF16
* input encodings.
*/
diff --git a/src/gdisp/mcufont/mf_font.c b/src/gdisp/mcufont/mf_font.c
index 698a3d8e..60350d99 100644
--- a/src/gdisp/mcufont/mf_font.c
+++ b/src/gdisp/mcufont/mf_font.c
@@ -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>
diff --git a/src/gdisp/mcufont/mf_font.h b/src/gdisp/mcufont/mf_font.h
index 591ebab6..0e5612ce 100644
--- a/src/gdisp/mcufont/mf_font.h
+++ b/src/gdisp/mcufont/mf_font.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.
*/
diff --git a/src/gdisp/mcufont/mf_justify.c b/src/gdisp/mcufont/mf_justify.c
index 1938bb6a..072eef0c 100644
--- a/src/gdisp/mcufont/mf_justify.c
+++ b/src/gdisp/mcufont/mf_justify.c
@@ -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"
diff --git a/src/gdisp/mcufont/mf_justify.h b/src/gdisp/mcufont/mf_justify.h
index c3e8ba75..5620cffd 100644
--- a/src/gdisp/mcufont/mf_justify.h
+++ b/src/gdisp/mcufont/mf_justify.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.
*/
diff --git a/src/gdisp/mcufont/mf_kerning.c b/src/gdisp/mcufont/mf_kerning.c
index bd5afc1a..0163fbd9 100644
--- a/src/gdisp/mcufont/mf_kerning.c
+++ b/src/gdisp/mcufont/mf_kerning.c
@@ -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>
diff --git a/src/gdisp/mcufont/mf_kerning.h b/src/gdisp/mcufont/mf_kerning.h
index ed885162..1014c8dd 100644
--- a/src/gdisp/mcufont/mf_kerning.h
+++ b/src/gdisp/mcufont/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
+ */
+
/* 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'.
diff --git a/src/gdisp/mcufont/mf_rlefont.c b/src/gdisp/mcufont/mf_rlefont.c
index 8afaa9c2..ec0025dd 100644
--- a/src/gdisp/mcufont/mf_rlefont.c
+++ b/src/gdisp/mcufont/mf_rlefont.c
@@ -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. */
diff --git a/src/gdisp/mcufont/mf_rlefont.h b/src/gdisp/mcufont/mf_rlefont.h
index d8275d5c..d9cee8dc 100644
--- a/src/gdisp/mcufont/mf_rlefont.h
+++ b/src/gdisp/mcufont/mf_rlefont.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
+ */
+
/* A compressed font format based on run length encoding and dictionary
* compression.
*/
diff --git a/src/gdisp/mcufont/mf_scaledfont.c b/src/gdisp/mcufont/mf_scaledfont.c
index da2b31fe..c98247f1 100644
--- a/src/gdisp/mcufont/mf_scaledfont.c
+++ b/src/gdisp/mcufont/mf_scaledfont.c
@@ -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
diff --git a/src/gdisp/mcufont/mf_scaledfont.h b/src/gdisp/mcufont/mf_scaledfont.h
index f6607010..f378ca67 100644
--- a/src/gdisp/mcufont/mf_scaledfont.h
+++ b/src/gdisp/mcufont/mf_scaledfont.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
+ */
+
/* Generate scaled (nearest-neighbor) fonts. This can be used for displaying
* larger text without spending the memory required for including larger fonts.
*/
diff --git a/src/gdisp/mcufont/mf_wordwrap.c b/src/gdisp/mcufont/mf_wordwrap.c
index cc735a4e..4650c24a 100644
--- a/src/gdisp/mcufont/mf_wordwrap.c
+++ b/src/gdisp/mcufont/mf_wordwrap.c
@@ -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. */
diff --git a/src/gdisp/mcufont/mf_wordwrap.h b/src/gdisp/mcufont/mf_wordwrap.h
index bf3dbcb7..40983b4a 100644
--- a/src/gdisp/mcufont/mf_wordwrap.h
+++ b/src/gdisp/mcufont/mf_wordwrap.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
+ */
+
/* Word wrapping algorithm with UTF-8 support. More than just a basic greedy
* word-wrapper: it attempts to balance consecutive lines as pairs.
*/