2011-01-19

Diacritice

În Română există 10 diacritice, 5 litere mari şi 5 litere mici.
Iată un tabel cu aceste caractere:


GliphUnicodeUTF-8Denumire
ĂU+0102C482Latin Capital Letter A With Breve
ăU+0103C483Latin Small Letter A With Breve
ÂU+00C2C382Latin Capital Letter A With Circumflex
âU+00E2C3A2Latin Small Letter A With Circumflex
ÎU+00CEC38ELatin Capital Letter I With Circumflex
îU+00EEC3AELatin Small Letter I With Circumplex
ȘU+0218C898Latin Capital Letter S With Comma Below
șU+0219C899Latin Small Letter S With Comma Below
ȚU+021AC89ALatin Capital Letter T With Comma Below
țU+021BC89BLatin Small Letter T With Comma Below


Caracterele "Ș" şi "Ț" nu au fost disponibile de la început, şi s-au folosit adesea înlocuitorii cu sedilă.


GliphUnicodeUTF-8Denumire
ŞU+015EC59ELatin Capital Letter S With Cedilla
şU+015FC59FLatin Small Letter S With Cedilla
ŢU+0162C5A2Latin Capital Letter T With Cedilla
ţU+0163C5A3Latin Small Letter T With Cedilla


2011-01-06

Convert EPS to SVG

Although I use Inkscape and Scribus and both have the option to import EPS files, they do a lame job: Inkscape converts the EPS to a static image and Scribus converts a very small amount from the original file.
Therefore I found that a detour to PDF helps in achieving better results. The key program here is GhostScript. The command is:

"c:\program files\gs\gs9.00\bin\gswin32c.exe" -sDEVICE=pdfwrite -sPAPERSIZE=a3 -o c:\tmp\vector.pdf c:\tmp\vector.eps

Some values for PAPERSIZE argument:
PAPERSIZEX inchesY inchesX cmY cm
a033.055646.777883.9611118.816
a123.388933.055659.407883.9611
a216.527823.388941.980659.4078
a311.694416.527829.703941.9806
a48.2638911.694420.990329.7039
a55.847228.2638914.851920.9903
letter8.51121.5927.94
legal8.51421.5935.56

After the file is in PDF format, Inkscape does a good job importing it. After import I save the result as a plain SVG to edit SVG file with Scribus. The problem that bothers me so far is that after conversion from PDF the shapes lose gradient information.