Knowledge.ToString()

Month: October 2019

  • CPPAN – You have spaces in the storage directory path

    I am using space in my username and when I tried to use CPPAN, it showed following error. Searching online did not yield any result and gradually found this link (https://github.com/cppan/cppan/blob/6412cba134147c5c8a5da424dd72ea62e779e4b1/doc/faq.md) which shows how to change storage directory path. All you have to do is open “C:\Users\[USER NAME]\.cppan\cppan.yml” and change the “storage_dir” value to your…

    |

  • Get font character bounding box using opentype.js

    If you would like to get the bounding box details of any font character using opentype.js, here is a working example. Dependency: JQuery Opentype.js FORTE.ttf font (or you can use any font) Make sure you make appropriate change to Url to load above mentioned resources from the following example.

    |