-
-
One question / ideia that pops into my mind it to have some page (plugin) in the phone app to change setting on the watch.
To explain it better, imagine a simple watch app with settings, and that settings, instead of being in the watch, it could be a plugin in the phone app (like a offline html file with some javascript api) so that one could pick the phone app and change the watch app setting on the phone app it self.
Is this something possible / some idea for the future?
-
-
-
-
-
I haven't explored what is the issue.
What I can say is Brave writes some pixel on the canvas and on console I see that Brave is nudging allot more character than Chrome. Maybe this is the problem.
...
Nudging character "B" down by 16 pixels to it fits
Nudging character "C" down by 16 pixels to it fits
Nudging character "D" down by 16 pixels to it fits
Nudging character "E" down by 16 pixels to it fits
...
-
-
-
Thanks :D
Super quick response.1) I had seen the createArrayBuffer, but I was trying to get away with createCallback, now I see that I can't (so fast on the emulator... I really need my Bangle.js 2 to try then 😊 😊 😊).
Thanks for pointing in the right direction, back to the drawing board.2) Ok. Vector is a very nice font, I'll probably be using it allot.
3) I'm using brave. As it's based on Chrome I didn't remember to try in another browser. I'll try it in Chrome and FF.
-
Hello
I have 3 small issues:
1) Same code, different results in Bangle.js 1 / 2 emulator.const color = { main: g.toColor(255, 0, 0), back: g.getPixel(1, 30), } function getPixelColor(x, y) { var c = g.getPixel(x, y); if (c === color.main) { return color.back; } return color.main; } var layer = Graphics.createCallback(viewport.width, viewport.height, g.getBPP(), function(x, y) { g.setPixel(x, y, getPixelColor(x, y)); }); function draw() { ... // hour = 50, minutes = 60 g.setColor(color.main); g.fillEllipse(center.x - 5 * scale, center.y - 70 * scale, center.x + 160 * scale, center.y + 90 * scale); layer.setFontAlign(1, 0).setFont("Vector", 90 * scale); layer.drawString(hour, center.x + 32 * scale, center.y - 31 * scale); layer.drawString(minutes, center.x + 32 * scale, center.y + 46 * scale); ... }
(see attached image)
2) There is something with the Vector font. I think the glyphs are not converted to path. :(
3) When trying the font converter I have allot of fonts with height = 1 (maybe I'm doing something wrong). Ex:
<link href="https://fonts.googleapis.com/css2?Âfamily=Ubuntu+Mono:wght@700&display=swapÂ" rel="stylesheet">
(see attached image)
Again, this is just an idea. But, it would be nice if we could have this in the future.