You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
3 years ago | |
---|---|---|
php-typography | 8 years ago | |
README.md | 3 years ago | |
style.css | 6 years ago | |
typography.php | 3 years ago |
README.md
Typography Addon
This addpn uses the php typography library by KINGdesk to enhance the typography of postings in friendica.
The addon uses the language detection capabilities of friendica to select the approproate typographic set or rules.
ToDo
- write some CSS to enhance the typography of stuff like ALL CAPS etc. a bit further, now that they are identified and marked.
- There was one thing in the library that I had to comment out to get rid of many warnings (see php-typography.php lines 1964 and following) which should be fixed in a better way.s
History
- 2014-12-29: Version 0.1, initial release
- 2018-01-20: Version 0.2, hook changes in Friendica, better language detection
- 2019-12-30: Version 0.3, adopted DI::baseUrl->get usage
Author
- Tobias Diekershoff
License
This addon is licensed under the terms of the GNU GPL 2.0 as the underlying library uses this license.
Copyright (C) 2014 Tobias Diekershoff
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301, USA.