Comments (1)
It turned out that the root problem was that dropcap.js
was running before the relevant font had loaded. The solution was thus of course to make it conditional on the availability of the font. I accomplished this using Web Font Loader's fontactive
event.
from dropcap.js.
Related Issues (20)
- Use -initial-letter if it is available HOT 2
- Demo site HOT 4
- License HOT 3
- I can't get this to work right in a file using TypeKit HOT 2
- Web Font Icon HOT 5
- Explain the issues with CSS-only drop caps HOT 2
- Exclusion area doesnโt always include descender for non-atomic initial letters HOT 1
- Include a 'bower.json' file HOT 1
- Register Bower package HOT 1
- `dropcapRef instanceof HTMLElement` fails in Chrome when using iframes
- Drop caps rendering differently on Mobile HOT 1
- The Letter Q HOT 1
- Make it importable in Node HOT 3
- Dropcap changes to wrong size when navigating back to page with certain fonts (Chrome) HOT 8
- Not rendering well / Overlapping on mobile HOT 2
- layoutDropcap: dcap.dcapjsStrut is not invalidated for dynamic content (ReactJS). HOT 2
- Dropcap position in paragraph next to floated element HOT 3
- Problem on iPhone HOT 4
- Doesn't work in Dolphin for Android
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dropcap.js.