BUG : fix for text path rendering issues

Suggested by @leejjoon.

Fixes #2889
Updated tests, and added a new test for PathEffectsRenderer points_to_pixels.
Merge pull request #3081 from pelson/points_to_pixels

Points to pixels