gopisekaran krd
Committed by GitHub

PDF Generation in release build issue fix (#1176)

* Update ttf_parser.dart

UnmodifiableByteDataView updated to ByteData

* pubspec change for pdf pluging source

* incorrect name changed for pdf

* git SSH updated to URL

* branch updated to master

* unmodifiable byte view removed

* byte initialisation

* update of data type

* ttf parser update

* bytes update

* ttf_pareser UnmodifiableByteDataView updated to byteData for deployment issue fix

Co-authored-by: gopisekaran <gopid@piraiinfo.com>
... ... @@ -115,7 +115,7 @@ class TtfBitmapInfo {
}
class TtfParser {
TtfParser(ByteData bytes) : bytes = UnmodifiableByteDataView(bytes) {
TtfParser(this.bytes) {
final numTables = bytes.getUint16(4);
for (var i = 0; i < numTables; i++) {
... ... @@ -162,7 +162,7 @@ class TtfParser {
static const String cblc_table = 'CBLC';
static const String cbdt_table = 'CBDT';
final UnmodifiableByteDataView bytes;
final ByteData bytes;
final tableOffsets = <String, int>{};
final tableSize = <String, int>{};
... ...