Friendica addon for a more typographically correct rendering of the postings depending on the used language in the posting.
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.

52 lines
1.7 KiB

6 years ago
6 years ago
3 years ago
6 years ago
  1. Typography Addon
  2. ================
  3. This addpn uses the [php typography](http://kingdesk.com/projects/php-typography/)
  4. library by KINGdesk to enhance the typography of postings in friendica.
  5. The addon uses the language detection capabilities of friendica to select the
  6. approproate typographic set or rules.
  7. ToDo
  8. ----
  9. * write some CSS to enhance the typography of stuff like ALL CAPS etc. a bit
  10. further, now that they are identified and marked.
  11. * There was one thing in the library that I had to comment out to get rid of
  12. many warnings (see php-typography.php lines 1964 and following) which should
  13. be fixed in a better way.s
  14. History
  15. -------
  16. * 2014-12-29: Version 0.1, initial release
  17. * 2018-01-20: Version 0.2, hook changes in Friendica, better language detection
  18. * 2019-12-30: Version 0.3, adopted DI::baseUrl->get usage
  19. Author
  20. ------
  21. * Tobias Diekershoff
  22. License
  23. -------
  24. This addon is licensed under the terms of the [GNU GPL 2.0](https://www.gnu.org/licenses/gpl-2.0.html)
  25. as the underlying library uses this license.
  26. Copyright (C) 2014 Tobias Diekershoff
  27. This program is free software; you can redistribute it and/or
  28. modify it under the terms of the GNU General Public License
  29. as published by the Free Software Foundation; either version 2
  30. of the License, or (at your option) any later version.
  31. This program is distributed in the hope that it will be useful,
  32. but WITHOUT ANY WARRANTY; without even the implied warranty of
  33. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  34. GNU General Public License for more details.
  35. You should have received a copy of the GNU General Public License
  36. along with this program; if not, write to the Free Software
  37. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  38. 02110-1301, USA.