Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Incorporating fixes #5

wants to merge 1 commit into from

Conversation

mitaliAmazon
Copy link
Collaborator

Adding support to read PUA chars from symbol font files.
Correcting the viewport.
Removing the multiplication factor in fontSize

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;
Copy link
Owner

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.

Copy link
Collaborator Author

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

Copy link
Owner

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;
Copy link
Owner

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.

Copy link
Collaborator Author

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);
Copy link
Owner

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

Copy link
Collaborator Author

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.

Copy link
Owner

@hidekatsu-izuno hidekatsu-izuno left a 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants