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.
Tobias Diekershoff 27bccc7c01 adopted get_baseurl changes in Friendica 2018.12-dev 6 months ago
php-typography initial commit 4 years ago
README.md updated README, corrected profile link 9 months ago
style.css added style.css file and styling for shared header 1 year ago
typography.php adopted get_baseurl changes in Friendica 2018.12-dev 6 months 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

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.