mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-22 16:18:08 +02:00
Text alignment inside input controls
This commit is contained in:
parent
f3ee85efab
commit
3d36a05d7f
2 changed files with 13 additions and 1 deletions
|
@ -340,6 +340,7 @@ var Page = (function pagePage() {
|
|||
var m = /([\d\.]+)\sTf/.exec(da);
|
||||
if (m)
|
||||
item.fontSize = parseFloat(m[1]);
|
||||
item.textAlignment = annotation.get('Q');
|
||||
item.flags = annotation.get('Ff') || 0;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue