youngxkk / AutoFixiOSTextLineHeight

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto Fix iOS Text Line Height

自动修复ios字体的行高

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.

【GIF】Screenshots 1 - Select the layer
graph

【GIF】Screenshots 1 - Select the artboard
graph

2.使用方式(How to use

选中单个artboard或者多个文字图层,选择plugins => Auto Fix iOS Text Line Height => Fix
快捷键: shift + option + command + i
(目前不支持同时选中多个artboard进行修复)
Select a single artboard or multiple text layers, plugins => Auto Fix iOS Text Line Height => Fix
(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. 点击这里下载 解压缩。 *(支持 Sketch v50 以上版本)
  2. 双击.sketchplugin 安装使用。

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

4.其它(Other

关于Sketch 与 iOS 文字的行高的介绍

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

About

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


Languages

Language:JavaScript 100.0%