Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:04
    wh1t3lord synchronize #328
  • 11:58
    wh1t3lord synchronize #328
  • 11:46
    wh1t3lord synchronize #328
  • 11:42
    wh1t3lord synchronize #328
  • 11:39
    wh1t3lord synchronize #328
  • 10:44
    wh1t3lord synchronize #328
  • 10:07
    wh1t3lord synchronize #328
  • 01:51
    asmallgod starred mikke89/RmlUi
  • Aug 15 12:26
    realityforge starred mikke89/RmlUi
  • Aug 15 04:44
    luckydu-henry starred mikke89/RmlUi
  • Aug 15 02:08
    jasmineamber starred mikke89/RmlUi
  • Aug 14 01:04
    danielcranston starred mikke89/RmlUi
  • Aug 13 20:33

    mikke89 on filter

    Update render interface and cac… Another take on the render inte… (compare)

  • Aug 13 19:08
    gdianaty starred mikke89/RmlUi
  • Aug 13 15:55
    Warhate starred mikke89/RmlUi
  • Aug 13 05:31
    jiangwei007 starred mikke89/RmlUi
  • Aug 12 22:28
    MttMustafa starred mikke89/RmlUi
  • Aug 12 09:56

    mikke89 on master

    Invader sample: Rename event li… (compare)

  • Aug 12 09:03
    mikke89 closed #342
  • Aug 12 09:03
    mikke89 locked #342
Igor Segalla
@igorsegallafa
Solved, thank u again
Michael R. P. Ragazzon
@mikke89
Nice, no problem!
Igor Segalla
@igorsegallafa
Any idea why width property doesnt works here?
image.png
got it, it was missing the default styles
Laz
@Lazrius_gitlab
Hello. Does anyone know how one would call a C++ function from Lua?
I'm looking to call a void function to tell C++ to do something, and another one, which is effecively just a variable return (getter)
Michael R. P. Ragazzon
@mikke89
I don't remember exactly, but that is pretty much everything that is happening in the RmlLua plugin all the time.
Jeff425
@Jeff425
Double checking to make sure I don't shoot myself in the foot. Does Rml always pass in two triangles when rendering textures? The rendering library I am using only renders textures as quads
Michael R. P. Ragazzon
@mikke89
Yeah, all render calls from rmlui are triangles.
Jeff425
@Jeff425
Sorry, my question was if all texture'd geometry is passed as two triangles generated from the GenerateQuad method
Michael R. P. Ragazzon
@mikke89
Ah I see. This might be the case currently but I cannot make any guarantees about that.
Giovanni
@uniquejack
@igorsegallafa display: block
@igorsegallafa by default the display property is "inline", and inline elements can't take width, height, vertical margin & padding
either use inline-block or block
VinaCC
@EngineLessCC
Hey there!
Ive been trying out rml lately and im using the example of the Readme.
How exactly does rmlui create fonts? There is freetype as dependency yet i only receive geometry and therefore i can only render everything except text
Michael R. P. Ragazzon
@mikke89
Text is rendered just as any other geometry, using the generated textures.
VinaCC
@EngineLessCC
i see, readme fontfamily is incorrect, it states "LotoLatin" while its "Loto"

Text is rendered just as any other geometry, using the generated textures.

yeah just that ive never received any callbacks for fonts, the logmessage wasnt very useful either as it couldnt tell me "LotoLatin" didnt exist, but complain about no family being set at all which was wrong, but ive solved this now

Michael R. P. Ragazzon
@mikke89
I see, glad you have it working now, the error message could certainly be improved. I guess you're using another Lato font file with the full set of languages, not the one included with the samples?
VinaCC
@EngineLessCC
i havent touched the samples folder at all, just followed the readme as is
so yeah, ive used online lato fontfiles
perhaps being able to set a fallback font not just for missing glyphs but missing fonts would be a great feature aswell
Michael R. P. Ragazzon
@mikke89
I see. Btw, the log messages will tell you the names of the fonts when they are loaded, which might be helpful sometimes because they need to match exactly.
VinaCC
@EngineLessCC
yes that is true

perhaps being able to set a fallback font not just for missing glyphs but missing fonts would be a great feature aswell

i would actually even suggest that, as this is typically behaviour of normal browsers to automatically use a different font/fallback incase some family is missing, reproducing this behaviour sounds reasonable plus a logmessage may tell about using fallback

Michael R. P. Ragazzon
@mikke89
Hm, I think it's better to consider non-existing font names an error. If users refer to a font that doesn't exist, that is indicative of an issue somewhere (either wrong name, or missing/error loading font file). We don't try to correct issues like that in RmlUi, unlike web browsers where compatibility is essential and correcting mistakes is the norm.
VinaCC
@EngineLessCC
errors would do aswell
Michael R. P. Ragazzon
@mikke89
Alright, I've tried to improve the error message now with the latest commit, hopefully it is much clearer now.
VinaCC
@EngineLessCC
i dont see an option to manually invalidate CompiledGeometryHandles
edit: nvm, global functions, forgot those. (took me a moment to find it in docs either)
VinaCC
@EngineLessCC
Any idea what could cause this? https://imgur.com/cT1cHxs
Ive noticed it being system dependend, mine and some testers' host systems including vms appear to have this issues, while others dont
another example: https://imgur.com/IijoHD6
Michael R. P. Ragazzon
@mikke89
Hmm, not sure. Looks like some kind of pixel alignment issues, either due to subpixel offset or scaling.
VinaCC
@EngineLessCC
it sometimes fixed itself when i changed the context dimensions, yet i dont understand the relation as some systems render these fine and others not. identical binary
Michael R. P. Ragazzon
@mikke89
Could be anything from projection matrix, viewport settings, context dimensions, and shader code.
VinaCC
@EngineLessCC
yeah im unsure what it could be atm, viewport dimensions match context, as for shader im using d3d9(Ex) funcs instead of shaders directly, projection matrix is basically taken from docs of rmlui on dx
Michael R. P. Ragazzon
@mikke89
Ah, hmm, if I remember correctly, dx9 has these half texel offset weirdness. Don't remember the details, but that should be something to investigate.
VinaCC
@EngineLessCC
yes! thank you for that tip! adding 0.5f to x and y translation fixed this
Michael R. P. Ragazzon
@mikke89
Great!
VinaCC
@EngineLessCC
are there reasons for the debuggers' element info window to be big yet empty on some elements?
Michael R. P. Ragazzon
@mikke89
It doesn't resize automatically, you can do that manually
Martin Suffer
@InactivatedPyschiopath
Hello, is there a link that I can see the supported tags, css properties and etc on rmlui?
Michael R. P. Ragazzon
@mikke89
@InactivatedPyschiopath Hi! Yes there is. See list of properties here: https://mikke89.github.io/RmlUiDoc/pages/rcss/property_index.html
Martin Suffer
@InactivatedPyschiopath
@mikke89 thanks!
Michael R. P. Ragazzon
@mikke89
Just added a search box on the documentation site! Hope you find it useful, let me know if you find any issues :)
Martin Suffer
@InactivatedPyschiopath
thanks! it's great
Martin Suffer
@InactivatedPyschiopath
@mikke89 I'm trying to add openh264 to rmlui, do you have any plan for that?
Michael R. P. Ragazzon
@mikke89
Haven't worked with that library before, let us know if you have any issues integrating it. Most likely you won't need any specific support from the RmlUi side, the library is quite flexible so you should be able to integrate it from the client side.