Android Question Bootsrap icon as a font

ykucuk

Well-Known Member
Licensed User
Longtime User
Hello, has anyone used Bootstrap icons as a font?
I want to use this font in BBView and CSbuilder.
Do you think this is possible?
 

TILogistic

Expert
Licensed User
Longtime User
?

1685054653532.png


1685054707688.png



Label3.Text = UnicodeToString(0xF424)
B4X:
Public Sub UnicodeToString (Unicode As Int) As String
    Dim bc As ByteConverter
    Dim b() As Byte = bc.IntsToBytes(Array As Int(Unicode))
    Return BytesToString(b, 0, 4, "UTF32")
End Sub
 
Upvote 0

Mariano Ismael Castro

Active Member
Licensed User
Hello, I have made a library (b4xlib) with a little more than 1500 bootstrap icons. I attach it together with a demo project that should work in b4a, b4j and b4i (I haven't been able to test this last one).
The data source comes from here specifically from the file: bootstrap-icons.json, In addition to having used part of the algorithm suggested above

(Sorry for my English, I use the translator)
 

Attachments

  • IconsBootstrap.zip
    14.5 KB · Views: 109
  • B4XIconsBootstrap.b4xlib
    160.4 KB · Views: 100
Upvote 0

TILogistic

Expert
Licensed User
Longtime User
Hello, I have made a library (b4xlib) with a little more than 1500 bootstrap icons. I attach it together with a demo project that should work in b4a, b4j and b4i (I haven't been able to test this last one).
The data source comes from here specifically from the file: bootstrap-icons.json, In addition to having used part of the algorithm suggested above

(Sorry for my English, I use the translator)
note:
You must add and read the JSON file instead of adding it in code.
 
Upvote 0
Top