Kotlin Skia bindings version 0.1.5 got recently re...
# feed
o
Kotlin Skia bindings version 0.1.5 got recently released, with support for macOS, Linux and Windows. See https://github.com/JetBrains/skiko
👍 16
m
I'm curious what the intended use case is for this library? Why is JB developing it?
Is there a plan to use Skia in JB products? As it currently targets only the JVM, it seems it competes with Java2D.
t
Will their version of Compose use skiko? 🙂
z
Compose already uses Skiko I believe, it was migrated from Skija recently.
c
Some screen shots would be great...
m
There are screenshots and animations on the Skia site.
c
I know. And I'm familiar with Skia (used to work on Android, remember?). My point still stands.
m
Ah, yes, sorry.
g
Hello everyone. Please has anyone tried out the Skia library on a JVM project?
Please, I need some help using it.
o
Ask your question
g
So, I tried the example that was given in the README. But I had a problem with the Renderer object.
I think that the Renderer object is found in the skija package, but I could not find any Renderer class that satisfied the IDE. Please, how can I correct that?
I am trying to run the project in Ubuntu.
Please, @olonho, how can I solve the issue? Thanks in advance.
o
can you open and run Skiko’s example from
samples/SkijaInjectSample
?
g
Oh, I see the problem.
The Renderer class was created in the sample's App.kt file. It therefore means that the README was not really accurate.
Thanks, @olonho. I will just copy the Renderer class from the sample and try it out again.
It worked. The README has to be updated. Please, @olonho, can I do that?
o
Sure, please send a PR
g
OK 👍
Please, @olonho, I have a question. What about those who do not have the JetBrains-Mono font?(Since in the Renderer class, that specific font is being used)
o
You could just remove it, and font manager will find appropriate fonts
g
OK.
@olonho, PR modified with the applied corrections.
Hello @olonho. Please, I have a question: Was the Renderer class supposed to be part of the API?
o
not mandatory
g
OK, I see.