SVG Text Layout: Words as Art (Paperback)

Amelia Bellamy-Royds, Kurt Cagle

  • 出版商: O'Reilly
  • 出版日期: 2015-12-01
  • 定價: $1,090
  • 售價: 9.0$981
  • 語言: 英文
  • 頁數: 232
  • 裝訂: Paperback
  • ISBN: 1491933828
  • ISBN-13: 9781491933824
  • 立即出貨 (庫存=1)

買這商品的人也買了...

商品描述

Scalable Vector Graphics (SVG) is an image format, so text isn’t the first thing you might think of when considering its uses. But one of SVG’s key features is its ability to encode text in a machine-readable form. This book takes a deep dive into the use of text within SVG to explore the creative possibilities as well as the potential pitfalls. You’ll start with SVG’s text basics, and then learn methods for using SVG to generate complex layouts.

If you’re an intermediate SVG developer familiar with CSS-styled HTML text, you’re ready to get going. This book covers:

  • The SVG text and tspan elements, and basic attributes for positioning simple text labels within a graphic
  • SVG’s fill and stroke properties for controlling text’s visual appearance
  • Complex text layouts, using formatted poetry as examples
  • Features to set the position and orientation of individual text characters
  • Multidirectional text, including right-to-left horizontal text and vertical text
  • Curved or complex text layouts with the textPath element
  • Font options for your SVG, including web fonts, and their impact on text layout

商品描述(中文翻譯)

可縮放向量圖形(Scalable Vector Graphics,SVG)是一種圖像格式,因此在考慮其用途時,文字可能不是你首先想到的。但是,SVG的一個關鍵特點是其能夠以機器可讀的形式編碼文字。本書深入探討了SVG中使用文字的創意可能性以及潛在的問題。你將從SVG的文字基礎知識開始,然後學習使用SVG生成複雜佈局的方法。

如果你是一位熟悉CSS樣式化HTML文字的中級SVG開發者,你已經準備好開始了。本書涵蓋了以下內容:
- SVG的文字和tspan元素,以及用於在圖形中定位簡單文字標籤的基本屬性
- 用於控制文字視覺外觀的SVG填充和描邊屬性
- 使用格式化詩歌作為示例的複雜文字佈局
- 設置單個文字字符的位置和方向的功能
- 多方向文本,包括從右到左的水平文本和垂直文本
- 使用textPath元素進行彎曲或複雜文字佈局
- SVG的字體選項,包括網頁字體,以及它們對文字佈局的影響