简体   繁体   English

创建自定义 SF 符号

[英]Creating Custom SF Symbol

I realise that there is a documentation on Apple, suggest that we can create our own custom SF symbol.我意识到Apple上有一个文档,建议我们可以创建自己的自定义SF符号。 https://developer.apple.com/documentation/xcode/creating_custom_symbol_images_for_your_app https://developer.apple.com/documentation/xcode/creating_custom_symbol_images_for_your_app

I have tried to follow the steps, modified the "Regular M" node.我已尝试按照步骤操作,修改了“Regular M”节点。 May I know if I need to modify all the node one by one?请问是否需要一一修改所有节点? Or there are some way to automatically generate the other sizes after modifying the "Regular M" node?或者有什么方法可以在修改“Regular M”节点后自动生成其他尺寸?

Example, the sf symbol "textformat.abc.dottedunderline".例如,sf 符号“textformat.abc.dottedunderline”。 I would like to change the abc to 'efg'.我想将 abc 更改为 'efg'。 Is there any automated way to generate all sizes?有没有自动生成所有尺寸的方法?

You have to modify the SFSymbols one by one, on each size and each symbols.您必须在每个大小和每个符号上一一修改 SFSymbols。 There is no automation for this.这没有自动化。 I personally use Sketch我个人使用 Sketch

Unfortunately there is no way to automatically generate multiple symbol sizes or weights based on just one.不幸的是,没有办法仅基于一个自动生成多个符号大小或权重。

However, only one style is required: Regular-M .但是,只需要一种样式: Regular-M As long as you include that one, you can include as many or as few of the others as you like.只要您包括那个,您可以根据需要包括尽可能多或尽可能少的其他人。 If Xcode calls for one that you have not included, it will just use Regular-M instead.如果 Xcode 调用您未包含的一个,它将只使用Regular-M代替。

Any style that you do not wish to include (other than Regular-M ) you can simply omit from the file.您不希望包含的任何样式(除了Regular-M )您可以简单地从文件中省略。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM