近年來機器學習時常用於風格傳播,而傳統人工設計一套字型,從初始的設計字型就需要專精的技術, 且後期需要耗費大量的人力和工時,來保持字與字之間統一特定的風格,因此普通人設計一套完整的漢字字體庫也成為工程浩大的任務。
In recent years, machine learning is often used for style transfer, while the traditional manual design of a set of fonts requires specialized skills from the initial design of the fonts, and requires a lot of labor and man-hours to maintain a uniform and specific style among the font.
考慮到漢字越來越普及,為了解決設計漢字過程繁瑣的難題,本論文以內含漢字的字體庫為出發點, 開發兩套基於機器學習的字型SVG生成系統,其生產出的SVG可打包成字型檔做使用,不但確保生成圖像的風格統一性,更減少了人力資源,並且大幅地提高產出、調整的效率。
Considering the increasing popularity of Chinese characters, in order to solve the tedious problem of designing Chinese characters, this paper takes the font containing Chinese characters as the starting point and develops two sets of machine-learning-based font SVG generation systems, whose generated SVG can be packaged into computer font, not only to ensure the uniformity of the generated images, but also to reduce human resources and significantly improve the efficiency of production and adjustment.
此外,除一般常見的黑白字型檔之外,本論文也針對Adobe近年所推出的OpenType-SVG,提供了保留顏色資訊的字型檔,在Illustrator、Photoshop等特定平台上可以顯示有別於傳統字體的彩色效果,透過色彩的轉變展現字體設計的多樣性。
In addition to the common black and white font files, this paper also focuses on the OpenType-SVG introduced by Adobe, providing font files that retain color information and can display color effects different from traditional fonts on specific platforms such as Illustrator and Photoshop. Through the change of colors, we can show the diversity of font design.
編輯或創建向量圖形的方法遠不及針對光柵圖像設計的方法,
為因應此狀況,Li在2020年提出可微分光柵化器(Differentiable Rasterizer)是一項連結向量圖形與光柵化圖形圖域的技術,
可用於復雜且實用的最佳化和學習任務,並以此為基礎開發開發了一種新的交互式向量圖形編輯系統,
其功能包括編輯向量圖形、圖像向量化和學習合成向量圖形。
The method of editing or creating vector graphics is much less than the method designed for grating images. To address this situation, Li proposed Differentiable Rasterizer in 2020 as a technique for linking vector graphics and rasterized graphics domains for complex and practical optimization and learning tasks, and developed a new interactive vector graphics editing system based on it. vectorization and learning to synthesize vector graphics.
Danelljan團隊在2020年提出DeepSVG,為一種基於分層變換器的向量圖形生成模型,
該模型能夠編碼和預測構成SVG的繪製命令,透過預測SVG繪製命令,如:貝茲取曲線,產生向量圖形,
達到在複雜的向量圖形圖標之間進行動畫的效果。
Danelljan proposed DeepSVG in 2020 as a vector graphics generation model based on hierarchical transformers. The model is capable of encoding and predicting the drawing commands that make up an SVG, and generating vector graphics by predicting SVG drawing commands such as Bezier curves. The effect of animating between complex vector graphics icons is achieved.
實作程式碼參考 Differentiable vector graphics rasterization for editing and learning [1].
Code implementation reference Differentiable vector graphics rasterization for editing and learning [1].
實作程式碼參考 Deepsvg: A hierarchical generative network for vector graphics animation [2].
Code implementation reference Deepsvg: A hierarchical generative network for vector graphics animation [2].