Giter VIP home page Giter VIP logo

dokuwiki_plugin_fontface's People

Contributors

araname avatar arnehanssen avatar nfriedli avatar prwater avatar rneej avatar samo079 avatar selfthinker avatar splitbrain avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dokuwiki_plugin_fontface's Issues

Whitespace in {{brackets}}

The rich text editor introduces whitespace into {{brackets}} and causes other plugins not to render. e.g. a page with the Wikipedia plugin {{wp>article}} will look like { { wp>article } } after editing the page. Can the editor ignore text in brackets?

Add CSS/JS to dispatcher

Check if it's possible to add the CSS/JS to the dispatcher. If yes, add all except external files.

Google says one thing, the plugin inserts something else

Using the latest Dokuwiki and your plugin, there's a difference in what Google says should be used and what the plugin does.

I couldn't paste the text, so I've removed < and >

The plugin does this:
<link type="text/css" rel="stylesheet" media="screen" href="https://fonts.googleapis.com/css?family=Open+Sans+Condensed:wght@300" />

Google says this:
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@300&display=swap" rel="stylesheet">

I don't know what the actual difference is to Google, but I'm having a hard time to get the fonts I want ๐Ÿ˜ธ

Also, notice the /css2 in Google's output vs /css in the plugin's.

Maybe something worthwhile looking at. Thanks for your work!

Add Google WebFont Loader

Add Google WebFont Loader [http://code.google.com/apis/webfonts/docs/webfont_loader.html] to the techniques. This will allow adding several external services.

Add fontface to print styles

First check which techniques show the font when printed in which browser. Then implement, probably only partially?

initialising typeface.js not working

Initialising typeface.js to overcome Flash Of Unstyled Content in IEs 6, 7 and 8 is currently not working. This was not implemented because the event that triggers the insertion (TPL_CONTENT_DISPLAY) is too early and causes IE6 and IE7 to crash.

Load font async?

Hi, Using this plugin loads the font in the head and raise an issue regarding page speed.
Is it possible to to set a settings to load it async or deferred?
Thanks,
Yehuda

Set font color, size and line-height by admin-UI

I've managed to load a fontset from fontsquirrel and place it into the fontdir. But to get the appearance it want, i need to hack the CSS of my template. Espacially for fontsize, fontcolor and lineheight.
These settings should be done with fontface plugin to prevent hacking the templates css.

Make more than one font possible

Currently the plugin only allows to embed one single font. Embedding more fonts for different types of headings might be desirable.

Upload fonts through admin

It would be more user-friendly if users could upload the needed font files through an admin interface.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.