Osiris icon indicating copy to clipboard operation
Osiris copied to clipboard

Font Change

Open ddjem87 opened this issue 7 years ago • 5 comments

Hello i wanted to modify the cheat a little and make it undetected (if it is idk just for security) i wanted to modify the aimbot menu so it wont say rifles or heavy i wanted them to be icons so i made a custom font with better readability and added the icons i already changed the names of rifles, heavy ,smg, pistols but the font seems to not load and the old font is there. I tried to change the font with

io.Fonts->AddFontFromFileTTF(strcat(buffer, "\Fonts\CherryMonospace-Light.ttf"), 16.0f);

I tried with the default input of the font \Fonts\tahoma.ttf (or whatever was i don't remember)

I tried with (there are 2 backslashes but does not appear for some reason) C:\Users\UserX\AppData\Local\Microsoft\Windows\Fonts\CherryMonospace-Light.ttf But still no result. That's the directory of the font if anyone can help me please(Thanks in advanced)

ddjem87 avatar Apr 06 '19 22:04 ddjem87

because there is already an iofonts pointer elsewhere in the code. I think it's in hooks.cpp or something. I changed mine to roboto regular.

TheNotoriousAWP avatar Apr 07 '19 00:04 TheNotoriousAWP

this particular line that i wrote io.Fonts->AddFontFromFileTTF(strcat(buffer, "\Fonts\CherryMonospace-Light.ttf"), 16.0f);

is from hooks.cpp but i does not change the actual font

ddjem87 avatar Apr 07 '19 02:04 ddjem87

You need to use double backslashes or single forward slashes.

danielkrupinski avatar Apr 07 '19 06:04 danielkrupinski

They are in two backslashes I putted In () that they are they just don't appear here for some reason

ddjem87 avatar Apr 07 '19 06:04 ddjem87

Well i guess no one will help..

ddjem87 avatar Apr 07 '19 11:04 ddjem87