Black regions

Black regions - Everything appears in black color - Messages

#1 Posted: 1/2/2022 3:40:54 PM
Gowand Gravi

Gowand Gravi

0 likes in 22 posts.

Group: User

Hi

While working with SMath everything is covered in black, see picture below.
Even older files are shown in black and I can't use them anymore.
I already reinstalled SMath.

Thank you in Advance.


20210202_SMath Error.png
#2 Posted: 1/2/2022 3:59:37 PM
Jean Giraud

Jean Giraud

983 likes in 6866 posts.

Group: User

Wrote

While working with SMath everything is covered in black, see picture below.
Even older files are shown in black and I can't use them anymore.
I already reinstalled SMath.


This freak is quite old wrt versions.
Select all, click background white.
It may come back black again, a pen in the ass.
Try it ... report ... a real bug !

#3 Posted: 1/2/2022 4:11:53 PM
Gowand Gravi

Gowand Gravi

0 likes in 22 posts.

Group: User

Thanks for your kind answer,

what a beautiful atmosphere here.


Well that worked, sometimes the thoughts are somewhere else, but it should never stop you from being kind.

At least... try!
#4 Posted: 1/4/2022 10:48:24 AM
Davide Carpi

Davide Carpi

1415 likes in 2872 posts.

Group: Moderator

If you want you can use this small utility to batch fix one or more files at once (It is just an automated raw "find and replace" routine on the plaintext data, doesn't use/require SMath Studio.)

Just drag & drop the sm files on the executable.

the original files are kept and the fixed files are created next to the originals with a "_fixed" suffix.


black to transparent bg (1.0.1).zip (2 KiB) downloaded 32 time(s).
If you like my plugins please consider to support the program buying a license; for personal contributions to me: paypal.me/dcprojects
#5 Posted: 1/4/2022 5:12:07 PM
overlord

overlord

547 likes in 1330 posts.

Group: Moderator

one-line command for linux users:
sed 's/bgColor="#000000"//g' input.sm > output.sm

for multiple files in a directory:
for i in *.sm; do sed 's/bgColor="#000000"//g' "$i" > "${i%.sm}_fixed.sm"; done
1 users liked this post
Davide Carpi 1/4/2022 5:15:00 PM
  • New Posts New Posts
  • No New Posts No New Posts