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

Position overlay not working for language logo #2695

Open
Omertron opened this issue Mar 16, 2015 · 0 comments
Open

Position overlay not working for language logo #2695

Omertron opened this issue Mar 16, 2015 · 0 comments

Comments

@Omertron
Copy link
Member

Original issue 2698 created by Omertron on 2013-12-01T09:41:45.000Z:

What steps will reproduce the problem?

  1. In "overlay-default.xml" file, add this
    <layer>
    <name>language</name>
    <left>1</left>
    <top>1</top>
    <align>left</align>
    <valign>bottom</valign>
    </layer>
  2. Launch YAMJ on a "English" movie.

What is the expected output? What do you see instead?
The "English" language logo should be on bottom.
It appears on top.

What version/revision of YAMJ are you using? On what operating system?
MovieJukebox 2.9 / Windows 7

What skin are you using?
"default"

What device are you using YAMJ on? Networked Media Tank, PlayonHD, Other?
Popcorn Hour C-200 Networked Media Tank .

Please provide any additional information below.

Note that I think the issue is in "drawLanguage" method of "DefaultImagePlugin.java" on line 1660
The input arguments "left" and "top" are ignored when building the image
if (imageFile.exists()){
BufferedImage biLang = GraphicTools.loadJPEGImage(imageFile);
g2d.drawImage(biLang, 1, 1, null); // "left" and "top" are ignored
}
Note also that in case of a movie having two languages, it works correctly.
Thanks for you work

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

No branches or pull requests

1 participant