Friendica addon for a more typographically correct rendering of the postings depending on the used language in the posting.
Go to file
Tobias Diekershoff 68eeaa2291 note about the changes in the README 2019-12-30 08:04:23 +01:00
php-typography initial commit 2015-01-04 21:46:33 +01:00
README.md note about the changes in the README 2019-12-30 08:04:23 +01:00
style.css added style.css file and styling for shared header 2017-08-09 10:04:34 +02:00
typography.php note about the changes in the README 2019-12-30 08:04:23 +01:00

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.