- Some utilities:
sudo apt-get install vim tmux git
- Copy/paste from the command line:
sudo apt-get install xclip
Demonstrates the effect of dominant baseline for each of its possible values on text positioning in an SVG.
Each browser/ mobile browser seems to handle these a bit differently. Here are some issues:
All in all its best just use 'alphabetical' (which is consistent across browsers) and do any further vertical positioning by manually by using the x,y
or dx,dy
or the transform
attributes. Also, if one needs to find out about the actual bounds of a text, one cannot rely on the getBBox() or the getBoundingClientRect() DOM methods, but has to use