Skip to main content
10 events
when toggle format what by license comment
Jun 15, 2022 at 17:40 history became hot network question
Jun 15, 2022 at 16:11 vote accept kanamekun
Jun 15, 2022 at 12:09 answer added Mangata timeline score: 2
Jun 15, 2022 at 11:37 history edited kanamekun CC BY-SA 4.0
added 409 characters in body
Jun 15, 2022 at 10:39 comment added kanamekun I have 2 data sets: first a dictionary of every glyph in my font (the key) and its width (the valie)... and then an array of letters in a particular word. Is a dictionary a good way to store the first data set? And how do I get data out of a dictionary?
Jun 15, 2022 at 10:34 comment added DMGregory You don't need a dictionary for this, since letters form a dense, contiguous sequence of indices (say, using their ASCII codes). Unless you're trying to work with far-flung Unicode characters beyond the basic ASCII set you've shown here.
Jun 15, 2022 at 10:13 comment added kanamekun Either way, I will have to ask my dictionary letter by letter... just having a bit of trouble doing that here!
Jun 15, 2022 at 10:00 comment added Zibelas regardless that it does not work, why do you want to save the Data from a dictionary to another Array? If you need the value for computation of the width of a word later, you can ask directly your dictionary letter by letter
Jun 15, 2022 at 9:47 history edited kanamekun CC BY-SA 4.0
edited title
Jun 15, 2022 at 9:32 history asked kanamekun CC BY-SA 4.0