BluetoothロゴのグリフがあるiOSのフォントはありますか?いくつかの絵文字、多分、または絵文字?WiFiロゴはどうですか?
編集:そのようなキャラクターがいるサードパーティのフォントはどうですか?私がライセンスを取得して出荷できるものですか?
いいえ、Bluetooth ロゴはグリフやフォント フェイス文字ではありません。
セヴァが言ったように、それはルーンのハガル (ᚼ) とビャルカン (ᛒ) の組み合わせです。2 つの記号を組み合わせて同じことをしようとしていました。
この 2 つの文字を含むフォントを最初に見つけることで、これを実現しました。私はLeedsUniを使用することになりました。ここからダウンロードできます: http://www.personal.leeds.ac.uk/~ecl6tam/ .
info.plist でフォントが配置されているパスを参照する必要があります。
<key>UIAppFonts</key>
<array>
<string>Fonts/LeedsUni10-12-13.ttf</string>
</array>
次に、2 つのキャラクターが適切に並ぶように、2 つのUIView
オブジェクト (UIButton
私の場合はオブジェクト) を互いにオーバーラップさせて作成しました。使用するフォントによっては、UIView フレームの x 値と y 値を調整する必要がある場合があります。
Xamarin を使用しているため、私のコードは C# ですが、Objective C または Swift でも同じことができるはずです。
UIView bleView = new UIView(new CGRect(0, 0, 34.0f, 34.0f));
string fontName = "LeedsUni";
UIButton bluetoothToSerialButton = new UIButton(UIButtonType.RoundedRect);
bluetoothToSerialButton.Frame = new CGRect(0, 0, 34.0f, 34.0f);
bluetoothToSerialButton.SetTitleColor(UIApplication.SharedApplication.Delegate.GetWindow().TintColor, UIControlState.Normal);
bluetoothToSerialButton.SetTitle("ᛒ", UIControlState.Normal);
bluetoothToSerialButton.Font = UIFont.FromName(fontName, 34.0f);
UIButton bluetoothToSerialButton2 = new UIButton(UIButtonType.RoundedRect);
bluetoothToSerialButton2.Frame = new CGRect(-3.5f, 0, 34.0f, 34.0f);
bluetoothToSerialButton2.SetTitleColor(UIApplication.SharedApplication.Delegate.GetWindow().TintColor, UIControlState.Normal);
bluetoothToSerialButton2.SetTitle("ᚼ", UIControlState.Normal);
bluetoothToSerialButton2.Font = UIFont.FromName(fontName, 34.0f);
bleView.AddSubviews(new UIView[] { bluetoothToSerialButton, bluetoothToSerialButton2 });
これらは、ここからダウンロードできる Google マテリアル デザインのアイコンですhttps://material.io/tools/icons/?icon=bluetooth&style=baseline
絵文字はありません。iPad でチェックしただけです。
スケーラブルにしない場合は Bluetooth ロゴの PDF または EPS を使用するか、そうでない場合は png を使用します。