Help:EasyTimeline syntax: Difference between revisions

Content deleted Content added
Text Input: update from meta, part 1
Font Support: update from meta, part 2
Line 843:
 
==Font Support==
Timeline has somewhat limited unicode support. It uses FreeSans.ttf font, which supports a subset of all the possible glyphs (it supports cyryllic alphabet, east-europe diactrics and kana for instance, but lacks kanji). No other fonts are available at this time.
No unicode is allowed yet. No font type can be specified yet.
 
<timeline>
Five font tags are predefined which will render at slightly different sizes in PNG and SVG images to produce optimal readability for both platforms.
ImageSize = width:180 height:90
PlotArea = width:180 height:90 left:0 bottom:0
TimeAxis = orientation:vertical #dummy
Colors =
id:gray value:gray(0.95)
Backgroundcolors = canvas:gray
Period = from:1 till:2 # dummy
TextData=
pos:(10,70) fontsize:L text:"Википедия"
pos:(10,50) fontsize:L text:"Zażółć gęślą jaźń"
pos:(10,20) fontsize:L text:"ウィキペディア"
</timeline>
 
FiveAs a legacy of bitmap font usage, only five font tags are predefined. whichThey will render at slightly different sizes in PNG and SVG images to produce optimal readability for both platforms.
It is advised to use these tags instead of numbers whenever possible.
They are: XS=eXtra Small, S=Small (default), M=Medium, L=Large, XL=eXtra large