• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unreachable annotations
#4
The fact that annotations can't be embedded in the chord pro file, and that the rendering of the chord pro file will be different depending upon the device resolution and aspect ratio means that ensuring the annotations are represented the same on every device is incredibly difficult. I have some proposed solutions for how to handle this issue, but they are going to require some difficult changes. I will basically have to start storing a lot more information about the screen dimensions of the tablet that generated each annotation (increasing the amount of data required to store and load the annotations) so that I can figure out on other devices how to properly scale the annotations so that they look the same. With PDFs, this isn't a problem because I'm currently storing the amount the page was scaled when the annotation was created in the database. So if the page is scaled a different amount on a different device, I can just scale by the delta between what the annotation was created with and the current page scaling factor. With a chord pro file, there isn't a scaling factor at all, so it's always saved as "1". This means that the annotations aren't scaled at all on a different device. So if I at least save the tablet dimensions with the annotation, I can know what the delta is between the two tablet dimensions, and scale by that. I believe it should work, but it won't fix annotations that are part of a library that were generated on a different device. I believe there were some other considerations as well, but I would need to review my notes on it.

Mike
Reply


Messages In This Thread
Unreachable annotations - by sciurius - 11-16-2018, 01:23 AM
RE: Unreachable annotations - by Zubersoft - 11-16-2018, 01:42 AM
RE: Unreachable annotations - by itsme - 11-16-2018, 02:03 AM
RE: Unreachable annotations - by Zubersoft - 11-16-2018, 02:15 AM
RE: Unreachable annotations - by itsme - 11-16-2018, 08:10 AM
RE: Unreachable annotations - by Zubersoft - 11-18-2018, 05:16 AM
RE: Unreachable annotations - by sciurius - 11-18-2018, 05:49 AM



Users browsing this thread:
1 Guest(s)


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2024 MyBB Group.