libdrawtext
changeset 5:095ff7ca4e74
added copyright notices
author | John Tsiombikas <nuclear@mutantstargoat.com> |
---|---|
date | Fri, 16 Sep 2011 08:42:07 +0300 |
parents | 17fed026b24b |
children | 7e0c702f1223 |
files | src/drawgl.c src/drawtext.h src/drawtext_impl.h src/font.c src/utf8.c |
diffstat | 5 files changed, 85 insertions(+), 0 deletions(-) [+] |
line diff
1.1 --- a/src/drawgl.c Fri Sep 16 08:31:06 2011 +0300 1.2 +++ b/src/drawgl.c Fri Sep 16 08:42:07 2011 +0300 1.3 @@ -1,3 +1,20 @@ 1.4 +/* 1.5 +libdrawtext - a simple library for fast text rendering in OpenGL 1.6 +Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> 1.7 + 1.8 +This program is free software: you can redistribute it and/or modify 1.9 +it under the terms of the GNU Lesser General Public License as published by 1.10 +the Free Software Foundation, either version 3 of the License, or 1.11 +(at your option) any later version. 1.12 + 1.13 +This program is distributed in the hope that it will be useful, 1.14 +but WITHOUT ANY WARRANTY; without even the implied warranty of 1.15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 1.16 +GNU Lesser General Public License for more details. 1.17 + 1.18 +You should have received a copy of the GNU Lesser General Public License 1.19 +along with this program. If not, see <http://www.gnu.org/licenses/>. 1.20 +*/ 1.21 #ifndef NO_OPENGL 1.22 #include <math.h> 1.23 #include <ctype.h>
2.1 --- a/src/drawtext.h Fri Sep 16 08:31:06 2011 +0300 2.2 +++ b/src/drawtext.h Fri Sep 16 08:42:07 2011 +0300 2.3 @@ -1,3 +1,20 @@ 2.4 +/* 2.5 +libdrawtext - a simple library for fast text rendering in OpenGL 2.6 +Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> 2.7 + 2.8 +This program is free software: you can redistribute it and/or modify 2.9 +it under the terms of the GNU Lesser General Public License as published by 2.10 +the Free Software Foundation, either version 3 of the License, or 2.11 +(at your option) any later version. 2.12 + 2.13 +This program is distributed in the hope that it will be useful, 2.14 +but WITHOUT ANY WARRANTY; without even the implied warranty of 2.15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 2.16 +GNU Lesser General Public License for more details. 2.17 + 2.18 +You should have received a copy of the GNU Lesser General Public License 2.19 +along with this program. If not, see <http://www.gnu.org/licenses/>. 2.20 +*/ 2.21 #ifndef TEXT_H_ 2.22 #define TEXT_H_ 2.23
3.1 --- a/src/drawtext_impl.h Fri Sep 16 08:31:06 2011 +0300 3.2 +++ b/src/drawtext_impl.h Fri Sep 16 08:42:07 2011 +0300 3.3 @@ -1,3 +1,20 @@ 3.4 +/* 3.5 +libdrawtext - a simple library for fast text rendering in OpenGL 3.6 +Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> 3.7 + 3.8 +This program is free software: you can redistribute it and/or modify 3.9 +it under the terms of the GNU Lesser General Public License as published by 3.10 +the Free Software Foundation, either version 3 of the License, or 3.11 +(at your option) any later version. 3.12 + 3.13 +This program is distributed in the hope that it will be useful, 3.14 +but WITHOUT ANY WARRANTY; without even the implied warranty of 3.15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 3.16 +GNU Lesser General Public License for more details. 3.17 + 3.18 +You should have received a copy of the GNU Lesser General Public License 3.19 +along with this program. If not, see <http://www.gnu.org/licenses/>. 3.20 +*/ 3.21 #ifndef TEXT_IMPL_H_ 3.22 #define TEXT_IMPL_H_ 3.23
4.1 --- a/src/font.c Fri Sep 16 08:31:06 2011 +0300 4.2 +++ b/src/font.c Fri Sep 16 08:42:07 2011 +0300 4.3 @@ -1,3 +1,20 @@ 4.4 +/* 4.5 +libdrawtext - a simple library for fast text rendering in OpenGL 4.6 +Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> 4.7 + 4.8 +This program is free software: you can redistribute it and/or modify 4.9 +it under the terms of the GNU Lesser General Public License as published by 4.10 +the Free Software Foundation, either version 3 of the License, or 4.11 +(at your option) any later version. 4.12 + 4.13 +This program is distributed in the hope that it will be useful, 4.14 +but WITHOUT ANY WARRANTY; without even the implied warranty of 4.15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 4.16 +GNU Lesser General Public License for more details. 4.17 + 4.18 +You should have received a copy of the GNU Lesser General Public License 4.19 +along with this program. If not, see <http://www.gnu.org/licenses/>. 4.20 +*/ 4.21 #ifndef NO_FREETYPE 4.22 #define USE_FREETYPE 4.23 #endif
5.1 --- a/src/utf8.c Fri Sep 16 08:31:06 2011 +0300 5.2 +++ b/src/utf8.c Fri Sep 16 08:42:07 2011 +0300 5.3 @@ -1,3 +1,20 @@ 5.4 +/* 5.5 +libdrawtext - a simple library for fast text rendering in OpenGL 5.6 +Copyright (C) 2011 John Tsiombikas <nuclear@member.fsf.org> 5.7 + 5.8 +This program is free software: you can redistribute it and/or modify 5.9 +it under the terms of the GNU Lesser General Public License as published by 5.10 +the Free Software Foundation, either version 3 of the License, or 5.11 +(at your option) any later version. 5.12 + 5.13 +This program is distributed in the hope that it will be useful, 5.14 +but WITHOUT ANY WARRANTY; without even the implied warranty of 5.15 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 5.16 +GNU Lesser General Public License for more details. 5.17 + 5.18 +You should have received a copy of the GNU Lesser General Public License 5.19 +along with this program. If not, see <http://www.gnu.org/licenses/>. 5.20 +*/ 5.21 #include "drawtext.h" 5.22 5.23 #define U8_IS_FIRST(x) (((((x) >> 7) & 1) == 0) || ((((x) >> 6) & 3) == 3))