Mifki, could you please make a square version of this?
Mifki, could you please make a square version of this?
Change cw:10; in the bottom to decide cell-width.
{"fw":"normal","fn":"Anonymous Pro","fs":14,"dx":1,"dy":-2,"cw":10,"ch":16,"cust":{"1":{"dx":-1,"dy":0,"ds":-2},"2":{"dx":-1,"dy":0,"ds":-2},"5":{"dx":-1,"dy":0,"ds":-1},"6":{"dx":0,"dy":0,"ds":0},"10":{"dx":-1,"dy":0,"ds":0},"11":{"dx":-1,"dy":0,"ds":-2},"12":{"dx":-3,"dy":0,"ds":-1},"14":{"dx":-3,"dy":0,"ds":-3},"15":{"dx":-1,"dy":0,"ds":-4},"16":{"dx":-1,"dy":0,"ds":-4},"17":{"dx":0,"dy":0,"ds":-1},"30":{"dx":-1,"dy":0,"ds":-4},"31":{"dx":-1,"dy":0,"ds":-5},"32":{"dx":0,"dy":0,"ds":0},"59":{"dx":0,"dy":0,"ds":0},"158":{"dx":0,"dy":0,"ds":-3},"247":{"dx":0,"dy":0,"ds":-2},"251":{"dx":0,"dy":0,"ds":-3}}}
A suggestions: Add a link to this thread from the first post in the TwbT thread. Or, considering how small this thread is, just copy all this here into the TwbT thread.
My reasoning is that this thread here is rather inactive, partly because its harder to find (?), so it might be better to keep everthing TwbT in one place.
Oh god, i missed that i can use local fonts. :o
Suggestion here: can you add an option not to smooth resulting image and use nearest neighbour interpolation instead
What do you mean? Font smoothing?He's talking about the resizing/rasterizing algorithm you use. For some fonts, nearest neighbor (i.e. no form of aliasing or smoothing is applied) might produce better results.
can you add an option not to smooth resulting image and use nearest neighbour interpolation insteadYou could just set the tile size to something like 100px and adjust the font size accordingly. Export that image and resize it with NN in your favorite bitmap editing program.
Man, this is useful.
Any chance of an standalone/offline version? I'd much prefer having a small program in a folder I can point to a ttf file instead of using system fonts with an online application.
I could download the html and use it without internet of course, but it's just not the same.
He's talking about the resizing/rasterizing algorithm you use. For some fonts, nearest neighbor (i.e. no form of aliasing or smoothing is applied) might produce better results.
In general, I think it would be great to have an option to export as eps (vector file) and do the resizing yourself.
Why not the same?As you said:
Do you usually have fonts that are not installed in your system?I do, especially fonts that I'd want to use for a DF tileset.
Different systems and browsers are using different algorithms of smoothing fonts when rendering text that may work better or worse for some fonts. I'll see whether I can control this in html.
Ideally, a "normal", non-browser based application would have algorithms that are platform independent, and with the same settings, produce the same output.
Yeah, I agree; that's what I meant with "it's not really necessary for this."Ideally, a "normal", non-browser based application would have algorithms that are platform independent, and with the same settings, produce the same output.
In simplest case - no it wouldn't. [...] it's an overkill for such a simple tool.
It's a bit annoying to keep remembering the exact system name of fonts you installed (especially if it just doesn't work because you forgot to restart your browser), so a drop down menu with all system fonts or some form of auto-completion would be nice to have.
Not all fonts have all glyphs of CP437, and the missing glyphs (which use glyphs from a default font?) look out of place with more extravagant fonts. Having tiles which use a fallback font get a different background or colored border in the preview window would help with recognizing these.
{"fw":"normal","fn":"DejaVu Sans Mono","fs":14,"dx":3,"dy":-1,"cw":16,"ch":16,"cust":{"NaN":{"dx":0,"dy":0,"ds":0}}}Those are the parameters I used. I then manually shifted the underscore up 2 pixels, because it just seemed lower than it should be.
Bumpage. Also, here's DejaVu Sans Mono (http://dl.dropboxusercontent.com/u/45188701/TWBT__DejaVu-Mono.png), a wonderfully readable font.
Bumpage. Also, here's DejaVu Sans Mono (http://dl.dropboxusercontent.com/u/45188701/TWBT__DejaVu-Mono.png), a wonderfully readable font.Is noted. Downloaded it, next update will have it.Spoiler (click to show/hide)
THANK YOU!!!
Meph, I'd love it if you could include this in the MDF launcher. You should be good to do so. (http://dejavu-fonts.org/wiki/License)Quote{"fw":"normal","fn":"DejaVu Sans Mono","fs":14,"dx":3,"dy":-1,"cw":16,"ch":16,"cust":{"NaN":{"dx":0,"dy":0,"ds":0}}}Those are the parameters I used. I then manually shifted the underscore up 2 pixels, because it just seemed lower than it should be.
Is this a square font intentionally or you have set cell width too big?
Btw, for me, Anonymous Pro (I think it's the default when you open the page) is the best so far.
(http://i.imgur.com/GCB8QXZ.png)
{"fw":"normal","fn":"Inconsolata","fs":14,"dx":1,"dy":-2,"cw":14,"ch":16,"cust":{}}
Great tool! Is it possible to load local fonts on OS X?
-on Firefox (54.0.1 x32): it does not detect the font, but does allow the image to be downloaded when you click the link (but you'll just get a default font, not the one specified).
-on IE (11.0.9600.18665): it detects the correct font, but when you click the download link the page just loads eternally and doesn't give you the file.