Cannot draw Textbox because the selected font was missing
Description
After a recent Windows update, i am unable to add a textbox to my screenshots. The error log pointed out that it was a missing font which I immediatelly recognized as the one selected for textboxes. Although i could have installed the font again, I did not had the time when the issue appeared. A good suggestion would be to either revert to regular fonts as Arial or Times New Roman, but an even better solution is to present the user with a simple control for selecting another font in order to get the job done. As an experienced QA engineer i would normally post exact steps for reproduction, but i don't know how the font went missing in the first place. The best that i can give is the following:
Take a screenshot
Add a textbox to it
Change the font of the textbox
Uninstall / Remove the font from the system
Repeat steps 1 and 2
Expected result: A warning message is displayed that the selected font is missing and some quick solution(s) are offered towards solving the problem and proceeding to proper textbox placement. Actual result: A popup window is displayed with messages and stacktraces related to the raised exception.
After a recent Windows update, i am unable to add a textbox to my screenshots. The error log pointed out that it was a missing font which I immediatelly recognized as the one selected for textboxes. Although i could have installed the font again, I did not had the time when the issue appeared. A good suggestion would be to either revert to regular fonts as Arial or Times New Roman, but an even better solution is to present the user with a simple control for selecting another font in order to get the job done. As an experienced QA engineer i would normally post exact steps for reproduction, but i don't know how the font went missing in the first place. The best that i can give is the following:
Take a screenshot
Add a textbox to it
Change the font of the textbox
Uninstall / Remove the font from the system
Repeat steps 1 and 2
Expected result: A warning message is displayed that the selected font is missing and some quick solution(s) are offered towards solving the problem and proceeding to proper textbox placement.
Actual result: A popup window is displayed with messages and stacktraces related to the raised exception.