STM publishing: tools, technologies and change A WordPress site for STM Publishing

3Feb/12Off

WOFF fonts demo

Posted by Graham Douglas

Just a test page to explore WOFF fonts

A selection of free Google fonts converted to WOFF (Web Open Font Format). These fonts were converted to WOFF using the sfnt2woff tool written by Jonathan Kew.

You'll need a reading device with a rendering/layout engine capable of displaying WOFF.

One of the most important characteristics that (in my opinion) distinguishes "good quality" fonts is hinting. Hinting TrueType fonts is an extremely specialised job and (from what I've read) there are very few people with the expertise to do it really well, but the difference it can make to screen-reading of serifed fonts at small sizes is really quite noticeable.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

1Feb/12Off

From typeset Arabic directly to SVG with LuaTeX

Posted by Graham Douglas

Just a brief post

With the explosive growth of interest in "eBooks" and the use of SVG in EPUB3, I thought it would be worth experimenting to see how "easy" it was to produce SVG directly from typeset Arabic: using LuaTeX. Turns out it is certainly quite possible and an inline SVG example is shown below (OK, it should be displayed on the right-hand side, I know ;-) ). This SVG was created using a point size of 100 for all calculations of the SVG "width" and "height" values. No hand editing was done at all, it is exactly as output. Need to finish kerning, vowel placement and cursive positioning in the SVG export functions but I think that should be OK.

Very likely that full mathematical formulae could also be exported directly to SVG using LuaTeX's node structures: but they are deeply nested and complex so it could be tricky. Quite possibly, LuaTeX offers excellent potential for fully automated eBook production and, of course, print PDF production, from a single TeX source file suitably marked-up.

9Oct/11Off

node.js now has a native Windows binary

Posted by Graham Douglas

Microsoft is contributing resources towards porting Node to Windows. You can now download a single node.exe file and away you go! No more Cygwin!

12Jun/11Off

Installing Node.js and CouchDB on Windows

Posted by Graham Douglas

Node.js and CouchDB are two very interesting technologies which are well worth exploring. Windows users can get prebuilt binaries/installers from the following locations.

Update: to follow the examples in the O" onclick="javascript:_gaq.push(['_trackEvent','outbound-article','']);"Reilly online book (http://guide.couchdb.org/) Windows users will need to download curl (a command line utility).

I have installed all the above on my desktop PC and so far everything is working well.

8Mar/11Off

The world’s most advanced browser-based WYSIWYG Editor?

Posted by Graham Douglas

I've recently been thinking about the future of the "authorship experience": using pure browser-based editing environments to write scholarly/scientific papers. For highly mathematical work there may be some way to go before this is commonplace but this tool shows an interesting step in the evolution of browser-based editing environments:

http://www.aloha-editor.org/index.php

Of course, as the Aloha web site says "Aloha Editor is NOT a HTML Editor to install on a desktop nor it is a CMS" so you'll need to provide some form of CMS/storage for Aloha (where to save the content you are editing) but it shows just how powerful in-browser editing has already become. I can only guess at the power of browser-based tools and editors that will surely evolve in the next couple of years, leading to interesting changes in content authorship, storage of articles being written collaboratively, submission to STM publishers and journal publishing. Exciting times ahead!