-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Correctly show endonyms on all platforms #18
Comments
I sent an inital email on this whole topic to one contact who has worked with the development of Unicode, and this was her response: "For fonts, I would recommend Noto family, which includes most scripts in Unicode, and is cross-platform. (Github repository: https://github.com/googlefonts/noto-fonts, older website: https://www.google.com/get/noto/) |
Good info. I wonder if the Noto Sans Google Font works too? |
I looked into this a bit and Noto isn’t a single font but rather a large family with hundreds of fonts. Obviously we only need a subset of that, and even then only when a particular endonym is show, so my initial thought is to load the extra ones dynamically. I didn’t know this was possible but the browser support is actually great. Code aside, we still have some steps to complete first:
4 has a better smell than 3 to me since it would not require Maya to update the GIS. One drawback might be a greater chance of error that is inherent in maintaining two separate datasets (more chance for typos). If it’s only a couple dozen records, however, I think you could keep it tight, especially if you copy and paste values from the sheet to WP rather than typing them out. Either way I think it’s better to store this info externally to the code for the same reasons we are keeping content separate from code:
Whatever the approach, I think ultimately I would just need to know these things:
What’s crazy is that we need these fonts for ONE WORD. If there was a way to get only the characters needed, it would reduce the amount of loading big time. I don’t know a ton about this but might be worth looking into. If none of this pans out for whatever reason or it’s deemed too much work in this timeframe, I think the easiest fallback is an image of the endonym (preferably SVG). This might get weird in small sizes like a results list/table, and would definitely not be accessible, searchable, or anything else text-related, but if it’s purely for display purposes in the popup/info view then it seems like the simplest approach. That’s a lot and I’m not sure I explained clearly so holler if you need clarification, otherwise let me know what your thoughts are thus far. |
This sounds like a good plan to me, with SVG's as plan B. I don't think I totally grasp where the info would live yet, or only vaguely in theory, but I can start gathering a spreadsheet or some such as follows, if I'm understanding right?
|
Believe it or not I was able to load some of the problematic fonts onto Dropbox and confirm that they do indeed render:
Any objection to using the one I created? It was intended for tracking the problematic fonts but I'm fine putting the URLs in there as well: Long-term solutionsStoring fontsDropbox was ridiculously straightforward for storing fonts, so let me know what you think about that approach. Tracking the problematic fontsI'm thinking WP might be super overkill for this, and storing this info in the full dataset would be overkill in a different way: 1000+ records and only a handful with font issues would be hard to justify adding a new column since that column is returned in the dataset regardless of whether it is populated. Sorry, bad explanation, but not super important. However, I'll still need a way to know which fonts need to be loaded behind the scenes and we still want that info to be in your hands rather than in the code (I mean you're welcome to start making Git commits, but I don't think that's the right approach here 😃 ). So, if not in WP and not in the main codebase, maybe we could get it into a GitHub Gist. This service is free and although it was designed for showing little snippets and tutorials, there's no reason it can't be used as free file storage (specifically a If you are open to learn more about this I would be happy to create a short doc on the process. It should just be a few short steps plus a couple in Dropbox, and overall comparable or less than the effort the WP plugin would've required. Thoughts? |
Tofu! That's useful. Spreadsheet looks great. Do you want us to fill in on this end, or are you already on it? In terms of storing fonts on Dropbox and tracking the problematic fonts with GitHub Gist (based on the spreadsheet?), I'm agnostic and happy to follow your lead. Only thing I'd advocate, here as elsewhere, is to keep things as simple and self-contained as possible to avoid things breaking down the line. (We'd still be using Wordpress for the About Us page, right?) |
Replies
Please do. I could see this task being either party's responsibility so let me know if you feel differently, but so far I've done a good bit of research, set up the sheet, and created a tiny working demo/test, so if you don't mind then yes, please take the lead on it. It's also good for you to do it since it's good practice for Post-August Ross.
Totally agree. Fewer moving parts = better. Gist was just one option but if we get the plugin set up in #11 and it does what we want, then that would be my vote. I could also see it being used for additional non-About, non-endonym concepts like the language points labeling potential I mentioned in #38.
Yep. If it's one big page then it can be a WP Post or Page, but if it's multiple smaller chunks then the CPT plugin might make more sense. WP API + CPT + MB Style thought processNot to get overly technical and ahead of myself here, but this workflow logic is fresh in my brain and will be useful if we implement this later:
I could see this one needing clarification and I think much of it would be up to @fiddleHeads once I get it set up, but curious to hear everyone's opinions. |
This sounds reasonable. But I am not very excited about the idea of having to update a subset of data on WP in addition to updating the vector tile after running the language data through my whole GIS process when there are updates to the language data. Or is that not what is being proposed here? Thanks. |
WPYeah your workflow already has a lot of steps, definitely don't want to add more! If I understand your question correctly then no, there is no subset. WP would just be for maintaining a simple list of
Other optionsJSON, stored elsewhere...e.g. as a GitHub gist file. Discussed this w/Ross above in regards to endonym fonts, but it could be done for the MB Styles as well. This short little list is simple enough to do as JSON, just thought WP might be easier so you wouldn't need another platform. JSON, stored in codeAfter reviewing the schema, however, it looks like there's only a handful of fields that will be used as labels. If that's the case and you just want me to hard-code the URLs and names in the code, that's fine too, you just won't have the simpler workflow that you would outside the code. Git + GitHub are more complex, and I'd prefer to keep the settings stuff as it relates to your end of the workflow stored outside the code. SpreadsheetMost convenient for you and Ross, but it would require some overkill overhead on the code side to parse that. Definitely simplest from code perspective to use JSON as that's the standard format on the web these days (RIP XML!).
|
Hi Jason. Thanks. Regarding maintaining a list of "URL pretty pairs" on WP, that sounds totally fine. I think I misunderstood how we'd be using WP. As for the endonyms as map labels, I think the idea is to emulate how the static print map displayed languages, so that the point symbology is actually replaced by the endonym itself. Here's a screenshot of how I was playing around with that possibility in Esri's WebApp Builder, although it looks like I actually left the points in, too, in this case. It also gets at the possibility of being able to display the language data in different ways, perhaps displayed by its endonym and then displayed as a separate layer as points. This is what I was imagining in WebApp Builder, anyway, but perhaps displaying points as endonyms is sufficient for your purposes, @rperlin-ela? I seem to recall this convo elsewhere, perhaps in the data schema, but it's worth clarifying here, I guess. |
Points + text seems best to me. I was able to get the endonyms to show pretty easily in the MB GUI: The more I play around with the MB styles, the more powerful it seems (tbf I'm used to old-school OpenLayers and Leaflet so MB is pretty next-level 🚀 ). We can go down that rabbit hole in a separate thread once I learn a bit more, but based on what I've seen so far I'm starting to think that all of the styles can be done in MB. The dynamic filtering is where it will get code-heavy, but getting the styles into long-term maintainable platform rather than code is handy on so many levels! I think that you'll find that there will always be room for improvement on labels, especially long and complex ones, so putting those options in your hands makes a lot of sense for the long haul. |
Sounds great regarding the potential of MB styles... |
Update on the endonym front... we looked into it and apparently found no tofu on Chrome, Firefox, even Internet Explorer on Mac or PC besides those already noted in the spreadsheet. |
Ok that’s not too bad then. So can we consider that sheet to be the complete source of truth for problematic fonts then? Obviously can add more later since lots of devices and platforms out there, but let me know if the sheet as it stands provides a sufficient baseline of what we’re up against. |
Also I see some activity in the fonts sheet including font URLs. Those are pointing to the google source but it still needs to be downloaded, unzipped, and Dropboxed (or wherever it’s being stored for the long run). You guys are handling that process, correct? I can document the Dropbox steps if needed but it’s basically just the usual upload, make sure it’s set to public, then grab the share URL, then tweak the URL to match the format I have in my two sheet entries (this makes it downloadable). I don’t think Google Drive has a “raw” equivalent so that’s why I suggested Dropbox, but any cloud storage platform that serves raw files should work. |
Got it — they’re in zip files now, but should it actually just point to the .ttf? Otherwise looks good?
… On Jul 6, 2020, at 12:45 PM, Jason Lampel ***@***.***> wrote:
Also I see some activity in the fonts sheet including font URLs. Those are pointing to the google source but it still needs to be downloaded, unzipped, and Dropboxed (or wherever it’s being stored for the long run). You guys are handling that process, correct? I can document the Dropbox steps if needed but it’s basically just the usual upload, make sure it’s set to public, then grab the share URL, then tweak the URL to match the format I have in my two sheet entries (this makes it downloadable).
I don’t think Google Drive has a “raw” equivalent so that’s why I suggested Dropbox, but any cloud storage platform that serves raw files should work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5GF32N2CG5ZQ7GH52DR2H5THANCNFSM4OFFMVMQ>.
|
Yep! And specifically just the "Regular" version of it (aka not Bold, Italic, etc.).
Close, just a few things:
|
Thanks for this. How’s it looking now?
… On Jul 6, 2020, at 11:16 PM, Jason Lampel ***@***.***> wrote:
but should it actually just point to the .ttf
Yep! And specifically just the "Regular" version of it (aka not Bold, Italic, etc.).
Otherwise looks good?
Close, just a few things:
Make sure your URLs are in this format: https://dl.dropboxusercontent.com/s/kabn5a3iaoupcgb/NotoSansSylotiNagri-Regular.ttf?dl=0, specifically the https://dl.dropboxusercontent.com/s part. The one you get when you copy from their "Share" thing points to the same file, but I think it opens in their viewer or something.
Make sure the files are set to public.
Test them in an Incognito Window ("Private browsing tab" on Firefox) so that you can confirm that it's not relying on your login. You should be prompted to download the .ttf file.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5EPMS6C2CTPE4EM3HTR2KHRFANCNFSM4OFFMVMQ>.
|
The URLs still had https://www.dropbox.com/s/d1yh2f8seympe6e/NotoSansVai-Regular.ttf?dl=0 |
Next step...is to get them into JSON. Now that we know there are only 16ish, I really think my WP idea is overkill! JSON is kinda the lingua franca (ha!) of data formats so if we can get that somewhere then we might be able to skip the WP plugin altogether ("About" page content remains as-is as a page though). Mind giving the GH Gist approach a try? If it seems too cumbersome we can try something else: GH Gist stepsOne-time step: start with Jason's JSON...just to get you started. Going forward, you'd use your own.
One-time step: create your own gist
Updating it
|
Alternatively to editing JSON (been there, done that, not fun!), you could:
Doesn't matter to me how you do it, I'd just like JSON as the end result. CSV-then-JSON kinda seems like the most maintainable though. It would let you sort and auto-complete a lot more easily, and it's a familiar spreadsheet format. |
This should be the URL:
https://gist.github.com/rperlin-ela/b88405b8bbef3e653b2023f26c726639.
Let me know if not. Thanks for making this dead easy.
On Jul 7, 2020, at 7:11 PM, Jason Lampel <notifications@github.com> wrote:
Alternatively to editing JSON (been there, done that, not fun!), you could:
1. maintain a CSV file, making updates as needed
2. Select All, Copy
3. convert to JSON: https://csvjson.com/csv2json
4. update Gist with the result
Doesn't matter to me how you do it, I'd just like JSON as the end result.
CSV-then-JSON kinda seems like the most maintainable though. It would let
you sort and auto-complete a lot more easily, and it's a familiar
spreadsheet format.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#18 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AMNKB5GGWQRUNYVPNC4UE6TR2OTSFANCNFSM4OFFMVMQ>
.
|
If you're seeing issues with these, I mistyped a few in #69 but they're correct now on my computer, will push in another branch: Other than that, can we close this monster issue? |
Yes!
… On Sep 1, 2020, at 8:04 PM, Jason Lampel ***@***.***> wrote:
@rperlin-ela
If you're seeing issues with these, I mistyped a few in #69 but they're correct now on my computer, will push in another branch:
Other than that, can we close this monster issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Sorry — I noticed these few endonyms that were missing, my bad, hopefully the last:
Bumthang, Kurtöp, and Tshangla should also use Noto Tibetan.
There are also a small number where the labels for the endonym looks good on the map, but not in the UI, e.g. Molisan. Is the endonym using Noto there?
… On Sep 6, 2020, at 11:16 PM, Jason Lampel ***@***.***> wrote:
Closed #18 <#18> via #73 <#73>.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5HG6EZ6B6YERHESOYTSERGCRANCNFSM4OFFMVMQ>.
|
No worries, I added those and also ventured to guess that Sharchop was in that party as well. Here's that whole group rendering fine now (locally on my laptop, no push yet):
I haven't done anything special for that one, no. It's not showing tofu for me, i see this: Is that not correct? If it isn't, is this (and the others) documented anywhere along with their respective Noto font? I'm not seeing Molisan in our "endos not rendering" sheet nor the "bad-fonts.json" github config (don't worry about updating the GH config anymore, we should actually just use the sheet). |
it occurred to me that you may be asking about the heading font in general. if so then no, they headings are all using Gentium Basic. if i switch to Noto Sans it does look more legit though: I'd rather not change all the headings' font just for these handful because i think the serif looks great, so looks like we're not going to squeak by so easy on the fonts after all! definitely need a list of the ones that don't look correct though. |
Understood about this — I’ve got a handle on it, and there are 14 we’d like to put in Noto Sans, which I’m guessing will do the trick. These are all Latin-based scripts but they use special IPA characters or diacritics that Gentium is not handling well. Sorry not to have noticed this earlier, but hopefully it’s not too bad after what we’ve been through with the non-Latin scripts.
In the Endonyms spreadsheet, this new batch all have “Noto Sans” under Font. Is that cool? Let me know if there’s anything else I can do. If it’s easier than going to the spreadsheet, here’s what should be the complete list:
Adjoukrou
Beneventano
Cilentano
Dinka
Ewe
Frafra
Guarani
Igbo
Kpelle
Molisan
Neo-Mandaic
Marchigiano
Temne
Vietnamese
Now that the labels are looking great, fortunately or unfortunately I was also able to check them more comprehensively on the map and there were some that are not showing up. Anyway, sorry I didn’t catch these earlier — they’re all documented in the spreadsheet now but here’s the list if it’s handy.
-Ethiopian labels not appearing (Amharic, Ge’ez, Gurage, Tigre, Tigrinya)
Solution: uploaded Noto Sans Ethiopic to Mapbox, which each of these should point to (see spreadsheet)
-Telugu label a little messed up
Solution: uploaded Noto Sans Telugu, which Telugu should point to
-Balti label not showing up
Solution: uplaoded Noto Sans Arabic, which Balti should point to
-Neo-Aramaic (Chaldean) and Neo-Aramaic (Assyrian) labels not appearing
Solution: point to Noto Sans Syriac Estrangala
-Karen, Kachin, Pa’O labels not appearing
Solution: point to Noto Sans Myanmar
Is this ok?
… On Sep 8, 2020, at 11:20 PM, Jason Lampel ***@***.***> wrote:
it occurred to me that you may be asking about the heading font in general. if so then no, they headings are all using Gentium Basic. if i switch to Noto Sans it does look more legit though:
<https://user-images.githubusercontent.com/4974087/92549973-c0245e80-f217-11ea-87d1-46728274c088.png>
I'd rather not change all the headings' font just for these handful because i think the serif looks great, so looks like we're not going to squeak by so easy on the fonts after all! definitely need a list of the ones that don't look correct though.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5DOWJAYOT5RPKPJVTDSE3YBNANCNFSM4OFFMVMQ>.
|
Yikes! So we're going down the road that we didn't want to go down of having to check if every endo UI instance contains an endo on the Noto list, then using a different font family. This was going to be the approach for all the Noto's until I found that I could just add all the font families, but what you're asking now is very different since it requires multiple UI changes and checks, and an additional config. This is getting pretty unmaintainable and I'm wondering what would prevent February 2026 Ross from telling February 2026 Jason to add or change more fonts. I was on board with continuing to update your config with the piecemeal MB fonts and a stray UI instance, but this adds a whole new level of work and maintenance questions so let me think on that. I don't want to be maintaining your config indefinitely but I've kinda painted myself into that corner, so it may take a few days to come up with something. |
Thinking out loud here but whatever the solution is:
if there's a way to do it with Google Sheets without using their API, that could work. will let you know if i find something. |
Oy, if it’s several days’ work, hold up, we’d better step back and assess. I was kinda hoping we could just slip these in there the way we’ve handled others. But I may not have totally understood…
Is the issue mostly around sustainable maintenance going forward (because I totally don’t want to be bothering you in 2026)? Obviously Google Sheets would be amazing and I’m familiar enough with CSV and happy to learn JSON — don’t relish the maintenance, but again I do see very little change going forward, this is just the last round of pain (I’m hoping).
How bad is the actual implementation part? How much is about the 14 “IPA" ones I listed, or is it about the additional bad labels I found? I’m sure it's also, completely understandable, a giant groan with this whole endonyms business.
I know Gentium looks great, but have to ask if the problem would go away or be significantly ameliorated if we used Noto Sans as our standard font? There are other IPA-compatible fonts that looks decent that linguists use all the time like Charis SIL and Doulos SIL. For what it’s worth, I think I only see the IPA issue notably in the UI (Details panel) and in the pop-up on the map, not on the label or in the data table.
… On Sep 14, 2020, at 6:51 PM, Jason Lampel ***@***.***> wrote:
Thinking out loud here but whatever the solution is:
it won't be JSON. too syntax-error-prone.
it won't be WP, way too tedious for you to maintain dozens of config things like that
it won't be a database, super overkill and too hard to set up
it COULD be a CSV, but it would actually be like 3-4 CSVs (UI fonts config, MB endo labels config, and UI endo heading overrides config). then you'd have 3 sheets to maintain and update, and that's 3 URLs for me to hit. sounds like a different kind of mess.
if there's a way to do it with Google Sheets without using their API, that could work. will let you know if i find something.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5APTYJJED5IDGIEUKDSF2M5ZANCNFSM4OFFMVMQ>.
|
that's a big part of it. as with just about any project i've ever been on (solo ones included), "just one more change, then this should be it" is kind of a mantra, only to find that it's not the case at all. it's just part of the game, hence the need for a good config-based maintainer-maintained setup. we're doing well with WP and the MB uploads, but the actual fonts, not so much.
indeed. i got a hacky/legacy approach working (google is going to deprecate this API eventually) and was able to create a sheet and massage some JSON out of it: doing it the "proper" google-recommended future-proof way involves a whole lot more steps, obtaining API keys, setting permissions, and installing addl dependencies in the code, so i'm not doing that right now. will add some instructions for you below.
it's worse than the other font stuff because it involves not just creating addl config like what i'm doing now, but also changing the code/UI in any place that uses Gentium and an Endonym (Details heading, popups heading, and Description modal, maybe others?), plus a check in those places to see if the Language coming in is in the list of IPAs. it doesn't matter if it's 14 or 214, the logic/changes will be same on code side. it's just the addl overhead of changing the UI and maintaining another config.
no but that was the straw that broke my developer/data-maintainer back. i don't want to keep adding to your list of fonts, especially 2 weeks after the project was supposed to be finished, so i should have stayed the course of putting it all in your hands. at the moment i think the google sheets approach is the best bet for maintaining the giant mess of MB endo fonts, but it will still take time to implement. i will at least give you a set of instructions to start with.
yes but sacrificing aesthetics seems like a last resort. i've even had someone compliment on "nice use of serif font for heading contrast with body text". definitely don't want to scrap that one for a short list of problematic languages.
why didn't we use that from the beginning then? Mark suggested Gentium so i went with that. yes changing the heading font to one of those would fix the issue in one fell swoop, but that will potentially change our relative UI layout that is based around Gentium. think padding, margins, font size, line height. the reason i had "choose fonts" as one of our very, very first GH issues is because of that. if the new font is very similar to Gentium in size and shape then we might get lucky so let me know which SIL to use.
and in the Descrip modal in the table:
right, labels are all independent of UI, they are only part of MB. i've tried to explain this several times but i guess i'm not good at explaining it so my bad there.
data table is not Gentium. handy tip for seeing what font is used: if you got close enough to the element, you'll see it highlighted in the Elements tab: click Computed: it will say at the bottom what font it's using (or trying to use): |
Instructions for Sheets-based MB fonts configStart with my sheetIt already has the right format and all the correct values (excluding the new ones you just gave me today, so be sure to add those). Copy it from Publish it
Give me the URLi only care about the sheet ID but you can give me the whole thing, e.g. Abide
Next stepsif we are switching heading fonts then there's a chance we won't need any more config, so just let me know which SIL. the instructions above will only affect MB labels, not the UI. that is separate config and i'd rather not get into that part tonight. i don't have this wired up whatsoever, so you won't be able to test until then. but don't let that stop you from firing up your shiny new spreadsheet. let me know if any of that doesn't make sense. |
handy tables for SIL comparison: https://software.sil.org/lcgfonts/support/comparison/ i tried Gentium Plus but not having a bold weight is kind of a deal-breaker. the headings do not stand out at all. and Charles looks pretty rough on the phone: Andika is a 90s party invite: again would rather not sacrifice what already looks good for a handful of languages so i guess i'll just change the UI and start another config then. |
Thanks, all really helpful — understood about the other fonts not looking good and the importance of aesthetics and sorry again that this whole endonym thing has haunted us and that I’m bringing up this batch so late in the game.
I’m pretty beat at the moment, but will work on the Sheets-based MB fonts config in the morning. Let’s see where that puts us, but I don’t want you to have to go too much farther down this garden path for now, so if there’s still going to be a lot of work to do (more than a few hours?), I’d say let’s step back and I’ll consult with the others but I’d argue hard that this whole new config (or alternate solution) should go on the wishlist for the next SOW.
… On Sep 14, 2020, at 10:10 PM, Jason Lampel ***@***.***> wrote:
handy tables for SIL comparison: https://software.sil.org/lcgfonts/support/comparison/ <https://software.sil.org/lcgfonts/support/comparison/>
<https://user-images.githubusercontent.com/4974087/93155766-0b30ec80-f6c4-11ea-9b2e-da2ced141d9d.png>
i tried Gentium Plus but not having a bold weight is kind of a deal-breaker. the headings do not stand out at all.
and Charles looks pretty rough on the phone:
<https://user-images.githubusercontent.com/4974087/93156379-3ec04680-f6c5-11ea-8770-b8dc6f91932e.jpg>
Andika is a 90s party invite:
<https://user-images.githubusercontent.com/4974087/93156865-403e3e80-f6c6-11ea-8d3a-08b5bc80bfde.png>
again would rather not sacrifice what already looks good for a handful of languages so i guess i'll just change the UI and start another config then.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5HQCMGXT6ZGC3OROBTSF3EKRANCNFSM4OFFMVMQ>.
|
sounds good. i've been looking at these Endo's in the UI day-in, day-out for like the whole summer and i don't know if i ever noticed the "bad" IPA ones. i guess i just thought the larger character was part of the font? and yes i imagine it will take longer than a few hours. the sheets-based MB endo's may as well, but that one is more worth it to me and is something i'll take the blame for since i abandoned the approach and requested that you update like 3 different files and we didn't end up using them. but yes to the next SOW for IPA ones. seems like something someone should have caught at least a month ago, so i'm not feeling too guilty about that one. ;) |
Ok, makes sense and sounds like a plan — so you’ll take care of the bad labels (Ethiopic etc) and the IPA ones (and the system to maintain going forward) will go into the next SOW
Regardless of whether it’s useful for the time being, I followed your instructions and made a new sheet here based on yours with all the problem fonts:
https://docs.google.com/spreadsheets/d/e/2PACX-1vTZB96D_w7Y4LsCBTb4zAa_25Nl44--Vb1dKA4AzstOwOZ7bsFQ5SvbjCHxzyqAbZf1hNCEiDgLwaS9/pubhtml
I wasn’t sure if I should also change your original— I requested edit access to bring it up to date— or whether this will supersede it. Let me know if I missed anything or got anything wrong
… On Sep 14, 2020, at 11:32 PM, Jason Lampel ***@***.***> wrote:
sounds good. i've been looking at these Endo's in the UI day-in, day-out for like the whole summer and i don't know if i ever noticed the "bad" IPA ones. i guess i just thought the larger character was part of the font?
and yes i imagine it will take longer than a few hours. the sheets-based MB endo's may as well, but that one is more worth it to me and is something i'll take the blame for since i abandoned the approach and requested that you update like 3 different files and we didn't end up using them.
but yes to the next SOW for IPA ones. seems like something someone should have caught at least a month ago, so i'm not feeling too guilty about that one. ;)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5EEQOMCMKB3OGWSSATSF3N4DANCNFSM4OFFMVMQ>.
|
Looks good from my phone and I’ll set up the code to use your sheet directly today so I won’t need to maintain any mb font config. Yours will supersede mine and I can just delete that one so there’s no confusion. It will be used directly as the basis of handling mb fonts. |
ok well so much for using the legacy Google API. they are shutting it down for good in two weeks. so now we need to go through the 500 steps to use their newer API. |
Google setupAlrighty @rperlin-ela, hope you've got some time on your hands. :) Got this working w/my own acct, so time to pass it on. Your screen may look different but i'll do my best... Initial steps
Click NEW PROJECT: Give it a Project name and stumble through the other two (sorry, not sure your screen again): Click CREATE. Enable Sheets APIIf you're not redirected to the Project you just made or you just want to make sure you're there, click the dropdown-near-logo again. Now you should see the project you just made, so click it: Click ENABLE APIS AND SERVICES: Click Google Sheets API (search for it first if needed): Enable it: Credentials/accessOn the right side of the screen click CREATE CREDENTIALS: Ignore the dropdown and click API key: Give it a Name: Under Application restrictions click Under Accept requests enter each of these values (hit Enter to add one):
Click API restrictions: Choose "Google Sheets API" under should look like so after clicking it: Click the Create button below it. (sorry i clicked before getting screenshot) Send me the key VIA EMAILClick the little copy button next to the Key, then send it to me via email: If problemsThe whole goal here is just to get an API key so i'd say if you run into obstacles then just start a fresh project. If you run into obstacles a second time, let me know where/what happened. Buena suerte! |
Thanks, thanks, I’ve brought it on myself :)
If not today, I’ll get to this tomorrow.
So on your end, besides this, is it just down to Labels when "Status" is the "Show by”?
… On Sep 15, 2020, at 5:14 PM, Jason Lampel ***@***.***> wrote:
Google setup
Alrighty @rperlin-ela <https://github.com/rperlin-ela>, hope you've got some time on your hands. :) Got this working w/my own acct, so time to pass it on.
Your screen may look different but i'll do my best...
Initial steps
Log in to google dev console: https://console.developers.google.com/ <https://console.developers.google.com/>
Next to the logo click the dropdown (no idea what yours looks like):
<https://user-images.githubusercontent.com/4974087/93263611-41717900-f763-11ea-8887-5a6c141e7cbe.png>
Click NEW PROJECT:
<https://user-images.githubusercontent.com/4974087/93263678-577f3980-f763-11ea-8f82-abb66f8a6d63.png>
Give it a Project name and stumble through the other two (sorry, not sure your screen again):
<https://user-images.githubusercontent.com/4974087/93263847-8d242280-f763-11ea-9290-0b61e7ce898b.png>
Click CREATE.
Enable Sheets API
If you're not redirected to the Project you just made or you just want to make sure you're there, click the dropdown-near-logo again. Now you should see the project you just made, so click it:
<https://user-images.githubusercontent.com/4974087/93264102-e2603400-f763-11ea-9214-878ff95d8caa.png>
Click ENABLE APIS AND SERVICES:
<https://user-images.githubusercontent.com/4974087/93264152-f3a94080-f763-11ea-9c0b-e81381049cbf.png>
Click Google Sheets API (search for it first if needed):
<https://user-images.githubusercontent.com/4974087/93264259-16d3f000-f764-11ea-8f10-eac566d33558.png>
Enable it:
<https://user-images.githubusercontent.com/4974087/93264288-205d5800-f764-11ea-9cf4-4725fe1c2732.png>
Credentials/access
On the right side of the screen click CREATE CREDENTIALS:
<https://user-images.githubusercontent.com/4974087/93264516-76ca9680-f764-11ea-9f7f-285d6d4a8085.png>
Ignore the dropdown and click API key:
<https://user-images.githubusercontent.com/4974087/93264567-89dd6680-f764-11ea-81c8-4868c7a47f8c.png>
Give it a Name:
<https://user-images.githubusercontent.com/4974087/93264649-a6799e80-f764-11ea-8ddf-79d9e50e9c9f.png>
Under Application restrictions click HTTP referrers (web sites):
<https://user-images.githubusercontent.com/4974087/93264789-dde84b00-f764-11ea-9536-ea263fa93848.png>
Under Accept requests enter each of these values (hit Enter to add one):
http://localhost:3000/*
http://lampel-2.local:3000/*
https://*.netlify.app/*
https://map.languagemapping.org/*
<https://user-images.githubusercontent.com/4974087/93265015-37e91080-f765-11ea-963b-3d5fb48d64a1.png>
Click API restrictions:
<https://user-images.githubusercontent.com/4974087/93265058-46372c80-f765-11ea-9375-177f0ef0fb9d.png>
Choose "Google Sheets API" under API restrictions:
<https://user-images.githubusercontent.com/4974087/93265120-5cdd8380-f765-11ea-9787-b4d233f83fca.png>
should look like so after clicking it:
<https://user-images.githubusercontent.com/4974087/93265154-6a930900-f765-11ea-969c-d790aa525129.png>
Click the Create button below it. (sorry i clicked before getting screenshot)
Send me the key VIA EMAIL
Click the little copy button next to the Key, then send it to me via email:
<https://user-images.githubusercontent.com/4974087/93265392-d07f9080-f765-11ea-8660-cf8f947073e9.png>
If problems
The whole goal here is just to get an API key so i'd say if you run into obstacles then just start a fresh project. If you run into obstacles a second time, let me know where/what happened.
Buena suerte!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5H44T55QXMSZFUASQ3SF7KLRANCNFSM4OFFMVMQ>.
|
that's the big one, and to fix the ipad logo overlap. i've got a much longer list going, will whittle it down to some essentials. Sheets-based config is working like a champ. so much easier to edit in there than 100+ lines of JSON, which is what i just removed from the code. i should've went with this from the onset, oh wells. if we need any other table-ish config that you control, this would be the way to go. the chaos of the steps above is a one-off, and once you have a key you can use it for any sheet. |
FYI the current deploy MB fonts are not working because I need to give the API key to Maya to add in Netlify. I'm going to wait until I get yours working locally though so that I don't have to ask her to do it a second time (as in give her my key and then yours). Will let you know when it's wired up. |
Yep, great!
… On Sep 16, 2020, at 9:36 PM, Jason Lampel ***@***.***> wrote:
confirmed that they are working, or at least Ge' ez which i tested:
<https://user-images.githubusercontent.com/4974087/93409289-d05dbe80-f853-11ea-9425-507329bfaef9.png>
i absolutely love that this is all in your hands now. big win!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub <#18 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AMNKB5B5GZGQHCVO3HVBD3LSGFRZHANCNFSM4OFFMVMQ>.
|
Summary
Some endonyms are not rendering in certain environments. Boxes bad, characters good:
Tracking
Spreadsheet
Started a rough spreadsheet to keep track of which platforms struggled with which fonts. Note that rows with empty Endonyms are hidden, and the dataset is filtered down to unique Lang/Endo combos.
Results so far
Jason
Other team members
Please document as you find problems, either here or in the spreadsheet.
Long-term approach
Say we get 100% of the fonts to render on all browsers and all OS's for the 4 team members. Great start, but what about actual users? How do we make sure people see what we see? Reaching out to some beta/test users is a good start, and a long-term fallback could be to include a feedback form for reporting problems (for fonts or otherwise).
Resources
https://docs.mapbox.com/help/troubleshooting/manage-fontstacks/
https://en.m.wikipedia.org/wiki/Help:Multilingual_support
The text was updated successfully, but these errors were encountered: