-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorporating fixes #5
base: master
Are you sure you want to change the base?
Conversation
Correcting the viewport. Removing the multiplication factor in fontSize
@@ -22,7 +22,7 @@ | |||
import java.lang.reflect.Proxy; | |||
import java.util.logging.Logger; | |||
import java.util.zip.GZIPOutputStream; | |||
|
|||
import com.google.typography.font.sfntly.FontFactory; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wish this library don't have dependencies for other libraries. If it must have, you need to realize by using a dynamic class loading and a reflection.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No it does not have any dependency
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A FontFactory class is not a starndard jdk class. So it will add a depedency.
if (args[i].startsWith("-")) | ||
{ | ||
if (args[i].equals("-debug")) | ||
{ | ||
debug = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This break line style is inappropriate. A line break shouldn't be placed before '{' in a common java coding style.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry. I am correcting it and will update in 2nd code pull request
} | ||
if (height > maxHeight) { | ||
maxHeight = height; | ||
} | ||
dc.setWindowExtEx(width, height, old); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maxWidth, maxHeight value need to be taken from dc because it restore or save
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you could please explain in little detail, that shall be very helpful.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes are inadequate. I can't accept them.
Adding support to read PUA chars from symbol font files.
Correcting the viewport.
Removing the multiplication factor in fontSize