Skip to content

自动修复sketch文档中字体行高的插件,仅针对iOS

Notifications You must be signed in to change notification settings

elijahdou/AutoFixiOSTextLineHeight

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Auto Fix iOS Text Line Height

Auto Fix iOS Text Line Height, so that the font restoration degree of iOS design draft reaches 100%.

1.插件功能(Features

这是一个自动修复sketch文档中字体行高的插件,仅针对iOS
使用该插件后,可以做到sketch中字体行高与iOS开发中字体行高100%还原,仅测试过苹方字体。
Auto Fix iOS Text Line Height, so that the font restoration degree of iOS design draft reaches 100%.
Only the apple font has been tested.

Screenshots 【gif】

graph

graph

2.使用方式

选中单个artboard或者多个文字图层,选择plugins => Auto Fix iOS Text Line Height => setLineHeight for iOS
快捷键: shift + option + command + i
(目前不支持同时选中多个artboard进行修复)
Select a single artboard or multiple text layers, plugins => Auto Fix iOS Text Line Height => setLineHeight for iOS
(It is not currently supported to select multiple artboards for repair at the same time)
shortcuts: shift + option + command + i

3.下载 & 安装 ( Install from download

  1. 下载 Zip 安装包 解压缩。 *(支持 Sketch v50 以上版本)
  2. 双击.sketchplugin 安装使用。

  1. Download the Zip file and unzip。 *(Support Sketch Version 50)
  2. Open .sketchplugin to install

4.其它(Other

插件主要代码由@baobaoxiapudou完成,youngxkk辅助一些bug哈哈。

About

自动修复sketch文档中字体行高的插件,仅针对iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%