specification
所属分类:其他
开发工具:TeX
文件大小:0KB
下载次数:0
上传日期:2023-03-22 07:22:12
上 传 者:
sh-1993
说明: TinyVG的规范。这是文件系统的中心管理机构,
(The specification for TinyVG. This is the central authority for the file system,)
文件列表:
LICENSE (1072, 2023-08-15)
Makefile (934, 2023-08-15)
design/ (0, 2023-08-15)
design/logo.png (8512, 2023-08-15)
design/logo.svg (12787, 2023-08-15)
design/logo.tvg (2259, 2023-08-15)
design/render.sh (1163, 2023-08-15)
design/social-media-preview.png (70222, 2023-08-15)
design/social-media-preview.xcf (299051, 2023-08-15)
design/svgo.config.js (1199, 2023-08-15)
graphics/ (0, 2023-08-15)
graphics/coordinates.svg (29353, 2023-08-15)
graphics/draw-line-loop.svg (226, 2023-08-15)
graphics/draw-line-loop.tvgt (253, 2023-08-15)
graphics/draw-line-strip.svg (227, 2023-08-15)
graphics/draw-line-strip.tvgt (254, 2023-08-15)
graphics/draw-lines.svg (525, 2023-08-15)
graphics/draw-lines.tvgt (225, 2023-08-15)
graphics/draw-rectangles.svg (445, 2023-08-15)
graphics/draw-rectangles.tvgt (225, 2023-08-15)
graphics/fill-polygon.svg (190, 2023-08-15)
graphics/fill-polygon.tvgt (247, 2023-08-15)
graphics/fill-rectangles.svg (328, 2023-08-15)
graphics/fill-rectangles.tvgt (192, 2023-08-15)
graphics/gradients.png (1538, 2023-08-15)
graphics/gradients.svg (922, 2023-08-15)
graphics/gradients.tvgt (417, 2023-08-15)
graphics/outline-polgon.svg (213, 2023-08-15)
graphics/outline-polygon.svg (229, 2023-08-15)
graphics/outline-polygon.tvgt (280, 2023-08-15)
graphics/outline-rectangles.svg (445, 2023-08-15)
graphics/outline-rectangles.tvgt (225, 2023-08-15)
graphics/overview.svg (5668, 2023-08-15)
... ...
# TinyVG Specification
TinyVG is a new vector graphics format that tries to be both simpler and smaller than SVG.
The core features are:
- Compact binary representation (39% file size compared to SVG)
- Cover 90% of typically used SVG features files while only having a tiny fraction of complexity
- Common 2D primitives are supported (paths, lines, rectangles, polygons)
- Linear and radial two-point gradient support.
- Configurable precision for smaller files.
- Comprehensible specification
## Contribution
- If you find a defect / bad formulation in the specification, open an issue.
- If you propose changes to the format, please open an issue.
- If you want to improve the document without semantic changes, feel free to directly create a PR which improves the document.
## Building
The specification is shipped as PDF, TXT and CommonMark documents. To build these, you have to install `xetex` + `texlive` packages, `pandoc` and `rsvg`. After these are installed, you can then build the final files by invoking main:
```sh-session
[user@host specification]$ make
rm -f *.aux *.log *.pdf *.fls *.synctex.gz *.fdb_latexmk
rsvg-convert "graphics/coordinates.svg" -f pdf -o "graphics/coordinates.pdf"
rsvg-convert "graphics/gradients.svg" -f pdf -o "graphics/gradients.pdf"
rsvg-convert "graphics/outline-polgon.svg" -f pdf -o "graphics/outline-polgon.pdf"
rsvg-convert "graphics/outline-rectangles.svg" -f pdf -o "graphics/outline-rectangles.pdf"
rsvg-convert "graphics/overview.svg" -f pdf -o "graphics/overview.pdf"
rm -f *.aux *.log *.pdf *.fls *.synctex.gz *.fdb_latexmk
xelatex -interaction=batchmode -halt-on-error "specification.tex"
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021/VoidLinux) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
xelatex -interaction=batchmode -halt-on-error "specification.tex"
This is XeTeX, Version 3.141592653-2.6-0.999993 (TeX Live 2021/VoidLinux) (preloaded format=xelatex)
restricted \write18 enabled.
entering extended mode
[user@host specification]$
```
近期下载者:
相关文件:
收藏者: