Jaro 6 Posted May 6, 2019 Report Share Posted May 6, 2019 The image functions are cool, but I wonder why is it so limited in fonts, etc? I really need a bold text, is there any possibility to achieve that?Thanks in advance for any help Quote Link to post Share on other sites
clkmnky 10 Posted May 8, 2019 Report Share Posted May 8, 2019 Hello! What's the name of the specific font whose bold version you'd like to use? I might be able to provide you with a specific code example. I genuinely couldn't figure out how to specifically use the built-in image functions, so I waded into ImageMagick command line instructions that oddly made more sense to me. I'm able to trigger bold face versions of fonts (even custom created fonts) directly via ImageMagick. Quote Link to post Share on other sites
Jaro 6 Posted May 8, 2019 Author Report Share Posted May 8, 2019 Thank you for your advice..I actually prefer to use the built-in image functions for now, I think it's very convenient and quick just I'm very surprised why they didn't give there a simple option to make fonts bold. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 11, 2019 Report Share Posted May 11, 2019 Try using the fonts like this: Name-Weight Example: Arial-Black Seems to work for me. And it should work for any font in your fonts folder I believe. Quote Link to post Share on other sites
Jaro 6 Posted May 11, 2019 Author Report Share Posted May 11, 2019 Thank you very much..I'd like to try it out but suddenly my simple script with image that used to work before just gives me an error "The given key was not present in the dictionary." ...I also ran the command "verify image libraries" but doesn't help at all. Quote Link to post Share on other sites
HelloInsomnia 1103 Posted May 11, 2019 Report Share Posted May 11, 2019 Thank you very much..I'd like to try it out but suddenly my simple script with image that used to work before just gives me an error "The given key was not present in the dictionary." ...I also ran the command "verify image libraries" but doesn't help at all. There's probably a bug somewhere, I don't think that is related to the libraries but rather something in your ubot code. Quote Link to post Share on other sites
Jaro 6 Posted August 6, 2019 Author Report Share Posted August 6, 2019 I found out that Ubot has a bug that from time to time the "add text to image" command simply messes up itself and you can also see that by noticing that the names of the individual fields inside that command just disappear...if you switch to the code mode and back, all comes back to normal.. Quote Link to post Share on other sites
Jaro 6 Posted August 6, 2019 Author Report Share Posted August 6, 2019 Ok, it actually isn't so simple...it stopped to work again...and I think that I finally found the complete solution...so after switching between the code and graphic mode you need to run the command "verify image libraries" and then also the "add text to image" commands should work Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.